调整商品图片的原图路径接口

This commit is contained in:
季圣华
2023-07-25 00:21:28 +08:00
parent 5f0cf49f76
commit 2444ba874b
4 changed files with 25 additions and 10 deletions

View File

@@ -136,7 +136,8 @@ public class MaterialService {
Map<Long,BigDecimal> currentStockMap = getCurrentStockMapByMaterialList(list);
for (MaterialVo4Unit m : list) {
if(fileUploadType == 2) {
m.setImgType("small");
m.setImgSmall("small");
m.setImgLarge("large");
}
m.setMaterialOther(getMaterialOtherByParam(mpArr, m));
m.setStock(currentStockMap.get(m.getId())!=null? currentStockMap.get(m.getId()): BigDecimal.ZERO);