Commit 99612115 by 江和松

1.仓库下拉框添加

parent f7ce748c
package com.baosight.hpjx.hp.kc.service; package com.baosight.hpjx.hp.kc.service;
import com.baosight.hpjx.common.DdynamicEnum; import com.baosight.hpjx.common.DdynamicEnum;
import com.baosight.hpjx.common.HPConstants;
import com.baosight.hpjx.common.InventTypeEnun; import com.baosight.hpjx.common.InventTypeEnun;
import com.baosight.hpjx.core.dao.DaoUtils;
import com.baosight.hpjx.hp.constant.HPConstant; import com.baosight.hpjx.hp.constant.HPConstant;
import com.baosight.hpjx.hp.kc.domain.HPKC001; import com.baosight.hpjx.hp.kc.domain.HPKC001;
import com.baosight.hpjx.hp.pz.domain.HPPZ007; import com.baosight.hpjx.hp.pz.domain.HPPZ007;
......
package com.baosight.hpjx.hp.pz.service; package com.baosight.hpjx.hp.pz.service;
import com.baosight.hpjx.common.DdynamicEnum;
import com.baosight.hpjx.core.dao.DaoUtils; import com.baosight.hpjx.core.dao.DaoUtils;
import com.baosight.hpjx.hp.constant.HPConstant; import com.baosight.hpjx.hp.constant.HPConstant;
import com.baosight.hpjx.hp.kc.domain.HPKC007; import com.baosight.hpjx.hp.kc.domain.HPKC007;
import com.baosight.hpjx.hp.pz.domain.HPPZ007; import com.baosight.hpjx.hp.pz.domain.HPPZ007;
import com.baosight.hpjx.util.CommonMethod;
import com.baosight.hpjx.util.LogUtils; import com.baosight.hpjx.util.LogUtils;
import com.baosight.iplat4j.core.ei.EiConstant; import com.baosight.iplat4j.core.ei.EiConstant;
import com.baosight.iplat4j.core.ei.EiInfo; import com.baosight.iplat4j.core.ei.EiInfo;
...@@ -11,6 +13,7 @@ import com.baosight.iplat4j.core.exception.PlatException; ...@@ -11,6 +13,7 @@ import com.baosight.iplat4j.core.exception.PlatException;
import com.baosight.iplat4j.core.service.impl.ServiceBase; import com.baosight.iplat4j.core.service.impl.ServiceBase;
import com.baosight.iplat4j.ed.util.SequenceGenerator; import com.baosight.iplat4j.ed.util.SequenceGenerator;
import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
...@@ -20,7 +23,7 @@ import java.util.Map; ...@@ -20,7 +23,7 @@ import java.util.Map;
* @date:2024/1/22,15:57 * @date:2024/1/22,15:57
*/ */
public class ServiceHPPZ007 extends ServiceBase { public class ServiceHPPZ007 extends ServiceBase {
/** /**
* @param inInfo * @param inInfo
* @return * @return
...@@ -33,7 +36,7 @@ public class ServiceHPPZ007 extends ServiceBase { ...@@ -33,7 +36,7 @@ public class ServiceHPPZ007 extends ServiceBase {
} }
return inInfo; return inInfo;
} }
/** /**
* 查询操作 * 查询操作
* *
...@@ -49,7 +52,7 @@ public class ServiceHPPZ007 extends ServiceBase { ...@@ -49,7 +52,7 @@ public class ServiceHPPZ007 extends ServiceBase {
} }
return inInfo; return inInfo;
} }
/** /**
* 新增操作. * 新增操作.
*/ */
...@@ -73,7 +76,7 @@ public class ServiceHPPZ007 extends ServiceBase { ...@@ -73,7 +76,7 @@ public class ServiceHPPZ007 extends ServiceBase {
} }
return inInfo; return inInfo;
} }
/** /**
* 修改操作 * 修改操作
* *
...@@ -96,7 +99,7 @@ public class ServiceHPPZ007 extends ServiceBase { ...@@ -96,7 +99,7 @@ public class ServiceHPPZ007 extends ServiceBase {
} }
return inInfo; return inInfo;
} }
/** /**
* 删除操作 * 删除操作
* *
...@@ -117,7 +120,7 @@ public class ServiceHPPZ007 extends ServiceBase { ...@@ -117,7 +120,7 @@ public class ServiceHPPZ007 extends ServiceBase {
} }
return inInfo; return inInfo;
} }
/** /**
* 根据仓库CODE找对象 * 根据仓库CODE找对象
* *
...@@ -131,5 +134,14 @@ public class ServiceHPPZ007 extends ServiceBase { ...@@ -131,5 +134,14 @@ public class ServiceHPPZ007 extends ServiceBase {
inInfo.set("list", query); inInfo.set("list", query);
return inInfo; return inInfo;
} }
public EiInfo queryComboBox(EiInfo eiInfo) {
Map map = new HashMap();
map.put("whType", eiInfo.getString("whType"));
List<DdynamicEnum> list = new ArrayList<>();
list.add(DdynamicEnum.WH_RECORD_BLOCK_ID);
CommonMethod.initBlock(eiInfo, list, map);
return eiInfo;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment