|
|
@ -801,14 +801,14 @@ public class CoreHqlPack {
|
|
|
|
* @param ids
|
|
|
|
* @param ids
|
|
|
|
* @return
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public static String packHqlSysDictionaryByIdsAndIsDefault(Long[] ids) {
|
|
|
|
public static DdlPackBean packHqlSysDictionaryByIdsAndIsDefault(Long[] ids) {
|
|
|
|
StringBuffer result = new StringBuffer();
|
|
|
|
DdlPackBean result = new DdlPackBean();
|
|
|
|
|
|
|
|
|
|
|
|
// hql拼接
|
|
|
|
// hql拼接
|
|
|
|
HqlPack.getInPack(StringUtils.join(ids,","),"id",result);
|
|
|
|
DdlPreparedPack.getInPack(StringUtils.join(ids,","),"id",result);
|
|
|
|
HqlPack.getNumEqualPack(CommonEnumUtil.TRUE_OR_FALSE.TRUE.getValue(),"isDefault",result);
|
|
|
|
DdlPreparedPack.getNumEqualPack(CommonEnumUtil.TRUE_OR_FALSE.TRUE.getValue(),"isDefault",result);
|
|
|
|
|
|
|
|
|
|
|
|
return result.toString();
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|