|
|
@ -1370,8 +1370,11 @@ public class WmsInventoryService extends MybatisBaseService<WmsInventoryMapper, |
|
|
|
for (WmsInventory d : inventories) { |
|
|
|
FormCommon f = new FormCommon(); |
|
|
|
f.setId(d.getSid()); |
|
|
|
f.setDictValue(d.getGoodsSpuName()); |
|
|
|
f.setDictValue(d.getGoodsID()); |
|
|
|
Map<String, Object> extra = new HashMap<>(); |
|
|
|
if (StringUtils.isNotBlank(d.getGoodsSpuName())) { |
|
|
|
extra.put("goodsSpuName", d.getGoodsSpuName()); |
|
|
|
} |
|
|
|
if (null != d.getCount()) { |
|
|
|
extra.put("count", d.getCount().toString()); |
|
|
|
} |
|
|
@ -1387,14 +1390,6 @@ public class WmsInventoryService extends MybatisBaseService<WmsInventoryMapper, |
|
|
|
if (StringUtils.isNotBlank(d.getUnit())) { |
|
|
|
extra.put("unit", d.getUnit()); |
|
|
|
} |
|
|
|
if (warehouseTypeValue.equals("招待库")) { |
|
|
|
String price = baseGoodsSkuExtendFeign.selSalesPrice(d.getGoodsSkuSid()).getData(); |
|
|
|
if (StringUtils.isNotBlank(price)) { |
|
|
|
extra.put("price", price); |
|
|
|
} else { |
|
|
|
extra.put("price", ""); |
|
|
|
} |
|
|
|
} |
|
|
|
f.setExtra(extra); |
|
|
|
list.add(f); |
|
|
|
} |
|
|
|