fix: 调账接口报错提示语修改
This commit is contained in:
+9
-1
@@ -1256,7 +1256,15 @@ public class PayWorkingGroupSubItemServiceImpl extends ServiceImpl<PayWorkingGro
|
|||||||
if (StringUtils.isBlank(id)) {
|
if (StringUtils.isBlank(id)) {
|
||||||
throw new JeroBootException("id不能为空!");
|
throw new JeroBootException("id不能为空!");
|
||||||
}
|
}
|
||||||
deleteProject(id, "workingGroupMember:delete");
|
try {
|
||||||
|
deleteProject(id, "workingGroupMember:delete");
|
||||||
|
} catch (JeroBootException e) {
|
||||||
|
if (e.getMessage().equals("已关联合同不可删除!")) {
|
||||||
|
throw new JeroBootException("已关联合同不可调账!");
|
||||||
|
} else {
|
||||||
|
throw new JeroBootException(e.getMessage());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 获取对应成员单位数据
|
// 获取对应成员单位数据
|
||||||
PayWorkingGroup payWorkingGroup = payWorkingGroupService.getById(workGroupId);
|
PayWorkingGroup payWorkingGroup = payWorkingGroupService.getById(workGroupId);
|
||||||
|
|||||||
Reference in New Issue
Block a user