mirror of
https://github.com/weizhiqiang1995/erp-pro.git
synced 2025-02-01 04:00:54 +08:00
feat: 解决购物车列表报错的问题
This commit is contained in:
parent
091a1a661d
commit
dbe494fad8
1 changed files with 3 additions and 1 deletions
|
@ -91,7 +91,9 @@ public class ShopTradeCartServiceImpl extends SkyeyeBusinessServiceImpl<ShopTrad
|
||||||
beans.forEach(bean -> {
|
beans.forEach(bean -> {
|
||||||
String normsId = bean.getNormsId();
|
String normsId = bean.getNormsId();
|
||||||
String salePrice = collect.get(normsId);
|
String salePrice = collect.get(normsId);
|
||||||
bean.getNormsMation().put("salePrice", salePrice);
|
if (CollectionUtil.isNotEmpty(bean.getNormsMation())) {
|
||||||
|
bean.getNormsMation().put("salePrice", salePrice);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue