|
@@ -287,7 +287,7 @@ public class OrderServiceImpl implements OrderService {
|
|
|
Integer productId = (Integer) product.get("productId");
|
|
|
Integer productNum = (Integer) product.get("productNum");
|
|
|
//统计商品总数量
|
|
|
- productCount += productCount;
|
|
|
+ productCount += productNum;
|
|
|
//获取商品信息
|
|
|
CmOrganizeProducts cmOrganizeProducts = organizeProductsMapper.selectProductById(productId);
|
|
|
if (null == cmOrganizeProducts) return wxJsonModel.error("-1", "订单商品数据异常");
|