Commit 1f42711d by 江和松

生产入库提交时完工数量处理时历史数据导致空指针提示修改

parent f882e1ea
......@@ -391,6 +391,7 @@ public class HGSCTools {
public static HGSC005A getById(Long id){
AssertUtils.isTrue(Objects.isNull(id)||id<=0, "计划明细ID不能为空!");
HGSC005A results = (HGSC005A)DaoBase.getInstance().get(HGSC005A.QUERY, HGSC005A.FIELD_id, id);
AssertUtils.isTrue(Objects.isNull(results), "计划明细信息为空!");
return 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