|
|
|
@ -1,6 +1,8 @@
|
|
|
|
|
package cn.estsh.i3plus.pojo.platform.sqlpack;
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.tool.HqlPack;
|
|
|
|
|
import cn.estsh.i3plus.pojo.platform.bean.*;
|
|
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
@ -704,4 +706,22 @@ public class CoreHqlPack {
|
|
|
|
|
|
|
|
|
|
return result.toString();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 文件代码是否存在
|
|
|
|
|
* @param sysFile 查询条件
|
|
|
|
|
* @return DdlPackBean
|
|
|
|
|
*/
|
|
|
|
|
public static DdlPackBean packHqlSysFileCode(SysFile sysFile){
|
|
|
|
|
DdlPackBean ddlPackBean = new DdlPackBean();
|
|
|
|
|
|
|
|
|
|
// and
|
|
|
|
|
DdlPreparedPack.getStringEqualPack(sysFile.getFileCode(),"fileCode",ddlPackBean);
|
|
|
|
|
// not
|
|
|
|
|
DdlPreparedPack.getNumNOEqualPack(sysFile.getId(),"id",ddlPackBean);
|
|
|
|
|
|
|
|
|
|
return ddlPackBean;
|
|
|
|
|
}
|
|
|
|
|
}
|