|
|
@@ -260,9 +260,14 @@ public class Order extends Controller {
|
|
|
JSONArray items = content.getJSONArray("items");
|
|
|
ArrayList<Long> itemidids = new ArrayList();
|
|
|
ArrayList<Long> sa_shoppingcartids = new ArrayList();
|
|
|
+
|
|
|
+ OrderItemsHelper orderItemsHelper=new OrderItemsHelper(this);
|
|
|
//判断是否是同一个品牌的商品
|
|
|
for (Object obj : items) {
|
|
|
JSONObject item = (JSONObject) obj;
|
|
|
+ orderItemsHelper.checkOffOrderItems("plm_item",item.getLongValue("itemid"));
|
|
|
+ orderItemsHelper.checkOffOrderItems("sa_promotion_items",item.getLongValue("itemid"));
|
|
|
+
|
|
|
Long temp_sa_brandid = item.getLongValue("sa_brandid");
|
|
|
itemidids.add(item.getLongValue("itemid"));
|
|
|
sa_shoppingcartids.add(item.getLongValue("sa_shoppingcartid"));
|