Browse Source

style(购物车): 调整代码格式。

yuj 7 years ago
parent
commit
8da7634c83

+ 1 - 1
src/main/java/com/uas/platform/b2c/trade/presale/service/impl/CartServiceImpl.java

@@ -447,7 +447,7 @@ public class CartServiceImpl implements CartService {
 		for (Cart cart : carts) {
 		for (Cart cart : carts) {
 			batchCodes.add(cart.getBatchCode());
 			batchCodes.add(cart.getBatchCode());
 		}
 		}
-		//从历史库存中获取上架信息
+		//从历史库存中获取最新的历史信息
 		List<Long> historyIds = goodsHistoryDao.findMaxIdByBatchCodes(batchCodes);
 		List<Long> historyIds = goodsHistoryDao.findMaxIdByBatchCodes(batchCodes);
 		if (org.apache.commons.collections.CollectionUtils.isNotEmpty(historyIds)) {
 		if (org.apache.commons.collections.CollectionUtils.isNotEmpty(historyIds)) {
 			List<GoodsHistory> histories = goodsHistoryDao.findAll(historyIds);
 			List<GoodsHistory> histories = goodsHistoryDao.findAll(historyIds);