|
@@ -279,7 +279,7 @@ public class ResponsibilityServiceImpl extends ServiceImpl<ResponsibilityMapper,
|
|
|
.orderByDesc(Responsibility::getCreateTime)
|
|
|
);
|
|
|
if (CollUtil.isEmpty(parentList)) {
|
|
|
- throw new CostException(ErrorCodeEnum.DATA_NOT_EXIST);
|
|
|
+ return Collections.emptyList();
|
|
|
}
|
|
|
List<Responsibility> sonList = this.list(
|
|
|
new LambdaQueryWrapper<Responsibility>()
|