|
|
@@ -301,7 +301,9 @@ public class InsPlySettleServiceImpl extends ServiceImpl<InsPlySettleMapper, Ins
|
|
|
|
|
|
List<InsPlySettleReportResVo> insPlySettleReportResVoList = baseMapper.getInsPlySettleReport(insPlySettleReportReqVo);
|
|
|
if(insPlySettleReportResVoList.size()==0){
|
|
|
- throw new SystemException("未查询到有效数据!");
|
|
|
+ if(StringUtils.isNotEmpty(insPlySettleReportReqVo.getIsDrilling())&&"1".equals(insPlySettleReportReqVo.getIsDrilling())){
|
|
|
+ throw new SystemException("已经是最底层机构,无法继续下钻!");
|
|
|
+ }
|
|
|
}
|
|
|
insPlySettleReportResVoList.stream().forEach(item->{
|
|
|
EsmInsCompany esmInsCompany =esmInsCompanyService.getById(item.getCompanyId());
|