修改报错信息

This commit is contained in:
haomingming 2026-01-09 15:49:40 +08:00
parent 687421f5ef
commit d3d4215a59

View File

@ -407,7 +407,7 @@ public class CaseplatformCaseService {
for (String id : caseIdList) {
CaseplatformCaseEntity caseplatformCase = caseplatformCaseDao.selectById(id);
if (caseplatformCase == null) {
throw new BusinessException("处理失败: 存在非法病例 " + id);
throw new BusinessException("处理失败: 存在非法病例1 " + id);
}
// 已经结算
@ -420,11 +420,11 @@ public class CaseplatformCaseService {
queryWrapper.eq(CasePlatformBankEntity::getExpertId, caseplatformCase.getExpertId());
CasePlatformBankEntity casePlatformBank = casePlatformBankDao.selectOne(queryWrapper);
if (casePlatformBank == null) {
throw new BusinessException("处理失败: 存在非法病例 " + id);
throw new BusinessException("处理失败: 存在非法病例2 " + id);
}
if (!Objects.equals(casePlatformBank.getBankCardNo(), bankCardNo)){
throw new BusinessException("处理失败: 存在非法病例 " + id);
throw new BusinessException("处理失败: 存在非法病例3 " + id);
}
// 修改病例结算状态