Commit a65df49c by yukang

合同管理

parent b22eefd2
...@@ -435,19 +435,21 @@ public class HGPZTools { ...@@ -435,19 +435,21 @@ public class HGPZTools {
} }
} }
public static class HgPz005A{ public static class HgPz005A {
/** /**
* 通过存货编码查询存货工序* * 通过存货编码查询存货工序*
*
* @param inventCode * @param inventCode
* @return * @return
*/ */
public static List<HGPZ005A> queryByInventCode(String inventCode){ public static List<HGPZ005A> queryByInventCode(String inventCode) {
AssertUtils.isEmpty(inventCode, "存货编码不能为空!"); AssertUtils.isEmpty(inventCode, "存货编码不能为空!");
Map paramMap = new HashMap(); Map paramMap = new HashMap();
paramMap.put(HGPZ005A.FIELD_INVENT_CODE, inventCode); paramMap.put(HGPZ005A.FIELD_INVENT_CODE, inventCode);
List<HGPZ005A> results = DaoBase.getInstance().query(HGPZ005A.QUERY, paramMap); List<HGPZ005A> results = DaoBase.getInstance().query(HGPZ005A.QUERY, paramMap);
return CollectionUtils.isEmpty(results) ? null : results; return CollectionUtils.isEmpty(results) ? null : results;
} }
}
} }
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