|
@@ -166,11 +166,11 @@ public class OrderHandler {
|
|
|
if (cartDto.getProductStatus() != null && cartDto.getProductStatus().intValue() == 1) {
|
|
|
total += cartDto.getCartNum() * cartDto.getProductPrice();
|
|
|
sum++;
|
|
|
+ //查询产品赠品信息
|
|
|
+ List<SalesUserGift> giftList = cartService.listGift(cartDto.getCartColorId());
|
|
|
+ cartDto.setSalesUserGiftList(giftList);
|
|
|
tempCarts.add(cartDto);
|
|
|
}
|
|
|
- //查询产品赠品信息
|
|
|
- List<SalesUserGift> giftList = cartService.listGift(cartDto.getCartColorId());
|
|
|
- cartDto.setSalesUserGiftList(giftList);
|
|
|
|
|
|
}
|
|
|
if (sum <= 0) {
|