wms工厂仓库类书写
parent
c686d32853
commit
3f6da227e1
@ -0,0 +1,34 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.sqlpack;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.tool.HqlPack;
|
||||||
|
import cn.estsh.i3plus.pojo.platform.bean.Department;
|
||||||
|
import cn.estsh.i3plus.pojo.platform.bean.Position;
|
||||||
|
import cn.estsh.i3plus.pojo.platform.bean.SysLocaleLanguage;
|
||||||
|
import cn.estsh.i3plus.pojo.platform.bean.SysLocaleResource;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.FactoryStore;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 仓库管理对象封装
|
||||||
|
* @Reference :
|
||||||
|
* @Author : silliter.yuan
|
||||||
|
* @CreateDate : 2018-10-31 10:45
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public class WmsHqlPack {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 工厂仓库模糊分页查询
|
||||||
|
* @param factoryStore
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public static String packHqlFactoryStore(FactoryStore factoryStore) {
|
||||||
|
StringBuffer result = new StringBuffer();
|
||||||
|
|
||||||
|
// 部门名称
|
||||||
|
HqlPack.getStringLikerPack(factoryStore.getStoreCode(),"storeCode", result);
|
||||||
|
// 部门代码
|
||||||
|
HqlPack.getStringLikerPack(factoryStore.getStoreName(),"storeName", result);
|
||||||
|
|
||||||
|
return result.toString();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue