对过内外入库流程和企业入库流程增加校验

This commit is contained in:
SUNJIABIN
2023-02-24 13:50:41 +08:00
parent 57b9cf1ddc
commit 98d454739e
3 changed files with 20 additions and 1 deletions
@@ -902,7 +902,7 @@ public class SarStandardsInfoController extends BaseController<SarStandardsInfo>
.eq(null!=page.getStandYear(),"STAND_YEAR",page.getStandYear()).eq("VALID_FLAG", 0);
Integer s=sarStandardsInfoEOService.count(wrapper);
if (s>0){
return Result.error();
return Result.error("当前标准编号已存在");
}else {
return Result.success();
}