|
|
|
@ -5,6 +5,8 @@ import cn.estsh.i3plus.pojo.base.tool.HqlPack;
|
|
|
|
|
import cn.estsh.i3plus.pojo.platform.bean.*;
|
|
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @Description : 平台对象封装
|
|
|
|
|
* @Reference :
|
|
|
|
@ -113,6 +115,16 @@ public class CoreHqlPack {
|
|
|
|
|
return result.toString();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String packHqlSysOrganize(Long[] ids, Integer typeId){
|
|
|
|
|
StringBuffer result = new StringBuffer();
|
|
|
|
|
|
|
|
|
|
// 查询参数封装
|
|
|
|
|
HqlPack.getInPack(StringUtils.join(ids,","),"id",result);
|
|
|
|
|
HqlPack.getNumEqualPack(typeId,"organizeType",result);
|
|
|
|
|
|
|
|
|
|
return result.toString();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 部门复杂查询
|
|
|
|
|
* @param department
|
|
|
|
|