Commit 087aebde by zhouhaibao

refactor(strategy): 修改门店信息数据结构

- 引入 MerchantInfo DTO 替代原有的 Long 类型门店ID列表
- 更新接口文档注释,将"适用门店列表"改为"门店ID列表"
- 优化门店名称设置逻辑,移除硬编码的"门店"前缀
- 调整门店关系表中的门店名称存储方式,直接使用商户名称
1 parent 7176b952
...@@ -190,7 +190,7 @@ public class StrategySopService { ...@@ -190,7 +190,7 @@ public class StrategySopService {
SopStrategyStoreRel rel = new SopStrategyStoreRel(); SopStrategyStoreRel rel = new SopStrategyStoreRel();
rel.setStrategyId(strategyId); rel.setStrategyId(strategyId);
rel.setStoreId(Long.valueOf(storeId.getMerchantId())); rel.setStoreId(Long.valueOf(storeId.getMerchantId()));
rel.setStoreName("门店" + storeId.getMerchantName()); rel.setStoreName(storeId.getMerchantName());
rel.setStoreCode("STORE" + storeId.getMerchantId()); rel.setStoreCode("STORE" + storeId.getMerchantId());
rel.setDeletedFlag(DeleteFlagEnum.N.getValue()); rel.setDeletedFlag(DeleteFlagEnum.N.getValue());
rel.setCreatedBy(createdBy); rel.setCreatedBy(createdBy);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!