Commit e6268855 by liuyang

2024-08-02 新增物料清单详情按照层级导入

parent b3e323f3
...@@ -337,7 +337,7 @@ public class HGSCTools { ...@@ -337,7 +337,7 @@ public class HGSCTools {
hgsc004a.setMaterialId(results.get(0).getId()); hgsc004a.setMaterialId(results.get(0).getId());
checkSaveData(hgsc004a); checkSaveData(hgsc004a);
}else if (hgsc004a.getLv()==4){ }else if (hgsc004a.getLv()==4){
if (hgsc004a.getParentProdCode().length()==0){ if (hgsc004a.getParentProdCode().trim().length()==0){
AssertUtils.isTrue(true, "层级为4级,父节点-产品编号不能为空!"); AssertUtils.isTrue(true, "层级为4级,父节点-产品编号不能为空!");
} }
Map<String,Object> paramMap = new HashMap<>(); Map<String,Object> paramMap = new HashMap<>();
......
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