|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
package cn.estsh.i3plus.pojo.wms.sqlpack;
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.tool.HqlPack;
|
|
|
|
|
import cn.estsh.i3plus.pojo.wms.bean.*;
|
|
|
|
|
import cn.estsh.i3plus.pojo.wms.bean.InterfaceDevice;
|
|
|
|
@ -121,4 +122,18 @@ public class WmsHqlPack {
|
|
|
|
|
|
|
|
|
|
return result.toString();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 仓库分页查询条件
|
|
|
|
|
* @param wareHouse
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public static String packHqlWareHouse(WareHouse wareHouse) {
|
|
|
|
|
StringBuffer result = new StringBuffer();
|
|
|
|
|
HqlPack.getStringLikerPack(wareHouse.getAddress(), "address", result);
|
|
|
|
|
HqlPack.getStringLikerPack(wareHouse.getCode(), "code", result);
|
|
|
|
|
HqlPack.getStringLikerPack(wareHouse.getName(), "name", result);
|
|
|
|
|
HqlPack.getStringEqualPack(CommonEnumUtil.TRUE_OR_FALSE.TRUE.getValue()+"","isValid",result);
|
|
|
|
|
return result.toString();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|