|
@@ -130,10 +130,6 @@ public class ResponsibilityServiceImpl extends ServiceImpl<ResponsibilityMapper,
|
|
|
throw new CostException(500, "非汇总中心不允许添加下属层级");
|
|
|
}
|
|
|
|
|
|
- if (responsibilitySaveDTO.getIsGatherCenter() == 1) {
|
|
|
- throw new CostException(500, "汇总中心不允许拥有子层级");
|
|
|
- }
|
|
|
-
|
|
|
// 只允许存在一个汇总中心
|
|
|
if (responsibilitySaveDTO.getIsDefault() == 1) {
|
|
|
this.checkIsDefault(user.getHospId());
|