字段不为空报错更改

This commit is contained in:
caozhen
2023-09-21 16:58:17 +08:00
parent 0f2be5010c
commit 7cd4c1eff2
@@ -70,7 +70,7 @@ public class LawsAssessController extends JeroController<LawsAssess, ILawsAssess
HttpServletRequest req) {
String projectId = lawsAssess.getProjectId();
if (StringUtils.isBlank(projectId)){
throw new JeroBootException(ResultCommon.PLEASE_SELECT_DATA);
throw new JeroBootException("projectId not null");
}
lawsAssess.setDelFlag(CommonConstant.DEL_FLAG_0.toString());
IPage<LawsAssess> pageList = lawsAssessService.queryPage(lawsAssess, pageNo, pageSize, req);