ci: 打开是否显示使用绑定关系按钮PDM请求判断

This commit is contained in:
2024-05-06 14:42:33 +08:00
parent 183ae91563
commit 243a4ee8b1
@@ -338,8 +338,7 @@ public class LawsBindPartServiceImpl extends ServiceImpl<LawsBindPartMapper, Law
}
for (LawsBindPart existBind : list) {
// 调用PDM判断零部件编号是否在当前的零部件分类下
// boolean validPartBelong = srmsApiService.validPartBelong(lawsBindPart.getPartNo(), lawsBindPart.getPartName(), existBind.getPartCategoryNum());
boolean validPartBelong = true;
boolean validPartBelong = srmsApiService.validPartBelong(lawsBindPart.getPartNo(), lawsBindPart.getPartName(), existBind.getPartCategoryNum());
if (validPartBelong) {
return existBind;
}