对过内外入库流程和企业入库流程增加校验
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user