Commit 99fec90d by zhangxingmin

push

parent 42c6bfbb
......@@ -125,8 +125,8 @@ public class FortuneAccountServiceImpl extends ServiceImpl<FortuneAccountMapper,
FortuneAccount fortuneAccount = new FortuneAccount();
fortuneAccount.setFortuneAccountBizId(RandomStringGenerator.generateBizId16("fortune_account"));
String internalCode = map.get(accountExportDTO.getBrokerBizId());
LocalDate actualPayoutDate = accountExportDTO.getActualPayoutDate();
String billingYearMonth = actualPayoutDate != null
LocalDate payoutDate = accountExportDTO.getActualPayoutDate();
String billingYearMonth = payoutDate != null
? actualPayoutDate.format(java.time.format.DateTimeFormatter.ofPattern("yyyyMM"))
: "";
String businessNo = BusinessNoUtils.generate(billingYearMonth, internalCode);
......
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