Commit 32fab354 by jianan

前端对接问题修复101

parent bde62fdf
......@@ -127,7 +127,7 @@ public class FortuneAccountServiceImpl extends ServiceImpl<FortuneAccountMapper,
fortuneAccount.setAmount(accountExportDTO.getAmount());
fortuneAccount.setFortuneAccountDate(currentDate);
// 出账状态默认待出账
fortuneAccount.setStatus(FortuneAccountStatusEnum.CANSEND.getItemValue());
fortuneAccount.setStatus(FortuneStatusEnum.CHECKED.getItemValue());
// 转换为List<Map<String, Object>>
Map<String, BigDecimal> fortuneAmounts = accountExportDTO.getFortuneAmounts();
......@@ -266,7 +266,7 @@ public class FortuneAccountServiceImpl extends ServiceImpl<FortuneAccountMapper,
/* 2. 更新 FortuneAccount 状态为已出账 ----------------------------------*/
accountList.forEach(a -> {
a.setStatus(FortuneAccountStatusEnum.SENT.getItemValue());
a.setStatus(FortuneStatusEnum.SENT.getItemValue());
a.setFortuneAccountDate(new Date());
a.setUpdaterId(loginUserId.toString());
a.setUpdateTime(new Date());
......
......@@ -76,9 +76,6 @@ public class FortuneServiceImpl extends ServiceImpl<FortuneMapper, Fortune>
}
String reconciliationYearMonth = fortuneQueryRequest.getReconciliationYearMonth();
List<String> statusList = fortuneQueryRequest.getStatusList();
if (CollectionUtils.isEmpty(statusList)) {
statusList = Collections.singletonList(FortuneStatusEnum.CAN_SEND.getItemValue());
}
String policyNo = fortuneQueryRequest.getPolicyNo();
List<String> insuranceCompanyBizIdList = fortuneQueryRequest.getInsuranceCompanyBizIdList();
List<String> productLaunchBizIdList = fortuneQueryRequest.getProductLaunchBizIdList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment