Commit 2a2a2a2f by 江和松

单个维护存货档案的工序流程时,工序流程没编号bug修改

parent 18257c7a
...@@ -418,6 +418,7 @@ public class ServiceHGPZ005 extends ServiceBase { ...@@ -418,6 +418,7 @@ public class ServiceHGPZ005 extends ServiceBase {
for (Map resultRow : resultRows) { for (Map resultRow : resultRows) {
HGPZ005 hgpz005 = new HGPZ005(); HGPZ005 hgpz005 = new HGPZ005();
hgpz005.fromMap(resultRow); hgpz005.fromMap(resultRow);
hgpz005 = HGPZTools.HgPz005.getById(hgpz005.getId());
HGSJ002 hgsj002 = new HGSJ002(); HGSJ002 hgsj002 = new HGSJ002();
hgsj002.fromMap((Map) resultRow.get("flow")); hgsj002.fromMap((Map) resultRow.get("flow"));
......
...@@ -8,10 +8,7 @@ import com.baosight.hggp.core.dao.DaoUtils; ...@@ -8,10 +8,7 @@ import com.baosight.hggp.core.dao.DaoUtils;
import com.baosight.hggp.core.enums.ValidFlagEnum; import com.baosight.hggp.core.enums.ValidFlagEnum;
import com.baosight.hggp.hg.constant.HGConstant; import com.baosight.hggp.hg.constant.HGConstant;
import com.baosight.hggp.hg.pz.domain.*; import com.baosight.hggp.hg.pz.domain.*;
import com.baosight.hggp.hg.sc.domain.HGSC001A; import com.baosight.hggp.hg.sc.domain.*;
import com.baosight.hggp.hg.sc.domain.HGSC005A;
import com.baosight.hggp.hg.sc.domain.HGSC009;
import com.baosight.hggp.hg.sc.domain.HGSC009A;
import com.baosight.hggp.hg.sj.domain.HGSJ003; import com.baosight.hggp.hg.sj.domain.HGSJ003;
import com.baosight.hggp.util.*; import com.baosight.hggp.util.*;
import com.baosight.iplat4j.common.ed.domain.TEDCM01; import com.baosight.iplat4j.common.ed.domain.TEDCM01;
...@@ -258,6 +255,18 @@ public class HGPZTools { ...@@ -258,6 +255,18 @@ public class HGPZTools {
/** /**
* 查询 * 查询
* *
* @param id
* @return
*/
public static HGPZ005 getById(Long id) {
AssertUtils.isTrue(Objects.isNull(id)||id<=0, "存货档案ID不能为空!");
HGPZ005 result = (HGPZ005)DaoBase.getInstance().get(HGPZ005.QUERY, HGPZ005.FIELD_ID, id);
return result;
}
/**
* 查询
*
* @param ids * @param ids
* @return * @return
*/ */
......
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