Commit f5fb6219 authored by Quxl's avatar Quxl

x

parent 2663e65e
...@@ -27,6 +27,7 @@ import com.egolm.common.bean.Rjx; ...@@ -27,6 +27,7 @@ import com.egolm.common.bean.Rjx;
import com.egolm.common.exception.ReflectException; import com.egolm.common.exception.ReflectException;
import com.egolm.common.jdbc.JdbcTemplate; import com.egolm.common.jdbc.JdbcTemplate;
import com.egolm.common.jdbc.ResultMutil; import com.egolm.common.jdbc.ResultMutil;
import com.egolm.shop.config.XException;
import com.egolm.shop.service.CartRedisService; import com.egolm.shop.service.CartRedisService;
/** /**
...@@ -670,6 +671,7 @@ public class CartRedisServiceImpl implements CartRedisService { ...@@ -670,6 +671,7 @@ public class CartRedisServiceImpl implements CartRedisService {
product.put("warehouseNo", pm.get("sWarehouseNO")); product.put("warehouseNo", pm.get("sWarehouseNO"));
} else { } else {
logger.error("商品资料不完整" + contractNo + "$" + goodsId); logger.error("商品资料不完整" + contractNo + "$" + goodsId);
throw new XException("商品已失效");
} }
} }
for (Map<String, Object> product : giftList) { for (Map<String, Object> product : giftList) {
...@@ -687,6 +689,7 @@ public class CartRedisServiceImpl implements CartRedisService { ...@@ -687,6 +689,7 @@ public class CartRedisServiceImpl implements CartRedisService {
product.put("nTag", pm.get("nTag")); product.put("nTag", pm.get("nTag"));
} else { } else {
logger.error("商品资料不完整" + contractNo + "$" + goodsId); logger.error("商品资料不完整" + contractNo + "$" + goodsId);
throw new XException("商品已失效");
} }
} }
for (Map<String, Object> groupInfo : groupList) { for (Map<String, Object> groupInfo : groupList) {
...@@ -705,6 +708,7 @@ public class CartRedisServiceImpl implements CartRedisService { ...@@ -705,6 +708,7 @@ public class CartRedisServiceImpl implements CartRedisService {
product.put("warehouseNo", pm.get("sWarehouseNO")); product.put("warehouseNo", pm.get("sWarehouseNO"));
} else { } else {
logger.error("商品资料不完整" + contractNo + "$" + goodsId); logger.error("商品资料不完整" + contractNo + "$" + goodsId);
throw new XException("商品已失效");
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment