|
@@ -143,11 +143,11 @@ public class ItemGroupServiceImpl implements ItemGroupService {
|
|
|
if (Blank.isNotEmpty(itemList1)) {
|
|
|
Long tttiCount = reportTableDao.getTttiCountByItemId(itemList1);
|
|
|
if (tttiCount > 0) {
|
|
|
- return Result.no(ResultEnum.REQUEST_WRONGPARAMS.getRespCode(), "数据组在报表中配置了相应的数据项无法修改");
|
|
|
+ throw new CustomException(ResultEnum.REQUEST_WRONGPARAMS.getRespCode(), "数据组在报表中配置了相应的数据项无法修改");
|
|
|
}
|
|
|
Long ttciCount = reportTableDao.getTtciCountByItemId(itemList1);
|
|
|
if (ttciCount > 0) {
|
|
|
- return Result.no(ResultEnum.REQUEST_WRONGPARAMS.getRespCode(), "数据组在报表中配置了相应的数据项无法修改");
|
|
|
+ throw new CustomException(ResultEnum.REQUEST_WRONGPARAMS.getRespCode(), "数据组在报表中配置了相应的数据项无法修改");
|
|
|
}
|
|
|
}
|
|
|
List<Item> itemList = itemGroup.getItemList();
|