Commit 99fec90d by zhangxingmin

push

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