feat: 绑定零部件不弹出引入

This commit is contained in:
yjz
2024-08-19 14:11:29 +08:00
committed by mzaxd
parent 97deed7070
commit f937c95be0
@@ -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);