Commit d8aa58f1 by zhouhaibao

feat(store): 添加基础场景码到分账规则自动配置

- 在StoreAppDivisionRuleAuto构建器中新增baseSceneCode字段
- 确保分账规则自动配置包含基础场景码信息
- 提升分账规则配置的数据完整性
1 parent fb653efe
...@@ -1256,6 +1256,7 @@ public class StoreApproveServiceImpl implements StoreApproveService { ...@@ -1256,6 +1256,7 @@ public class StoreApproveServiceImpl implements StoreApproveService {
divisionRuleAutoList = effectedRule.getDivisionRuleAutos().stream().map(o -> divisionRuleAutoList = effectedRule.getDivisionRuleAutos().stream().map(o ->
StoreAppDivisionRuleAuto.builder() StoreAppDivisionRuleAuto.builder()
.businessCode(businessCode) .businessCode(businessCode)
.baseSceneCode(baseSceneCode)
.paymentChannelId(o.getPaymentChannelId()) .paymentChannelId(o.getPaymentChannelId())
.paymentChannelName(o.getPaymentChannelName()) .paymentChannelName(o.getPaymentChannelName())
.divisionType(DivisionType.OFFLINE.getValue()) .divisionType(DivisionType.OFFLINE.getValue())
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!