Commit e990aa38 by 林永健

fix(integral): 优化积分转出渠道账户字段赋值逻辑

1 parent db69a3f5
......@@ -757,18 +757,14 @@ public class IntegralTransferOutService {
record.setStatus(IntegralTransferOutStatusEnum.SIGNING.getValue());
record.setPayDate(new Date());
record.setChannel(request.getChannel());
record.setChannelProvider(request.getChannelProvider());
IntegralChannelAccountDTO channelAccount = new IntegralChannelAccountDTO();
IntegralChannelAccountDTO existChannelAccount = getChannelAccount(request);
if (existChannelAccount != null) {
channelAccount = existChannelAccount;
}
record.setPaymentEntityCode(channelAccount.getPaymentEntityCode());
record.setPaymentEntityName(channelAccount.getPaymentEntityName());
record.setLevyCode(channelAccount.getLevyCode());
record.setLevyName(channelAccount.getLevyName());
record.setLevyChannelCode(channelAccount.getLevyChannelCode());
record.setLevyChannelName(channelAccount.getLevyChannelName());
record.setChannelProvider(request.getChannelProvider() != null ? request.getChannelProvider() : "");
IntegralChannelAccountDTO channelAccount = getChannelAccount(request);
record.setPaymentEntityCode(channelAccount != null ? channelAccount.getPaymentEntityCode() : "");
record.setPaymentEntityName(channelAccount != null ? channelAccount.getPaymentEntityName() : "");
record.setLevyCode(channelAccount != null ? channelAccount.getLevyCode() : "");
record.setLevyName(channelAccount != null ? channelAccount.getLevyName() : "");
record.setLevyChannelCode(channelAccount != null ? channelAccount.getLevyChannelCode() : "");
record.setLevyChannelName(channelAccount != null ? channelAccount.getLevyChannelName() : "");
updateSelectiveByIds(record, request.getIds());
// 2025-12-08 加入签约流程,异步发起即可
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!