feat: 绑定零部件不弹出引入
This commit is contained in:
+1
-1
@@ -364,7 +364,7 @@ public class LawsBindPartServiceImpl extends ServiceImpl<LawsBindPartMapper, Law
|
||||
// 调用PDM判断零部件编号是否在当前的零部件分类下
|
||||
boolean validPartBelong = dockingService.validPartBelong(lawsBindPart.getPartNo(), lawsBindPart.getPartName(), existBind.getPartCategoryNum());
|
||||
if (validPartBelong) {
|
||||
return existBind;
|
||||
return null;
|
||||
}
|
||||
// 零部件编号和零部件分类码绑定关系发生变更,所以需要将系统中存储的所有该零部件号的零部件分类码清空
|
||||
existBind.setPartCategoryNum(null);
|
||||
|
||||
Reference in New Issue
Block a user