Commit ecbd430d by 张富康

fix(construction): 修正库存维度默认值配置

- 将库存维度配置默认值从DIMENSION_UPGRADE_GOODS_ID修改为DIMENSION_TYPE
- 优化升级商品id获取逻辑的配置读取部分
- 保障在无配置时默认维度值更准确
1 parent b42bba2d
......@@ -349,7 +349,7 @@ public class ConstructionInfoService {
if (ObjectUtil.isNotEmpty(yqMerchantId)) {
merchantIds.add(yqMerchantId);
}
String dimension = environment.getProperty("inventory.type.dimension", DIMENSION_UPGRADE_GOODS_ID);
String dimension = environment.getProperty("inventory.type.dimension", DIMENSION_TYPE);
// 获取升级商品id
List<UpgradeGoodsStockDTO> upgradeGoodsStockDTOS = null;
if (ObjectUtil.equals(dimension, DIMENSION_UPGRADE_GOODS_ID)) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!