0603 - fix

dev_xgfuseridcard
tianxinlei 2026-06-03 11:44:08 +08:00
parent c68d52c596
commit b62f6121cc
1 changed files with 1 additions and 6 deletions

View File

@ -62,12 +62,7 @@ public class DepartmentAddExe {
throw new BizException("部门名称已存在");
}
BeanUtils.copyProperties(cmd, examTypeE);
Long id = null;
try {
id = departmentGateway.add(examTypeE);
} catch (Exception e) {
throw new RuntimeException(e);
}
Long id = departmentGateway.add(examTypeE);
if (id ==null) {
throw new BizException("保存失败");