Commit 3b306630 by yu.sun

sunyu::update::fix bug about specialAttribute copyOrder

parent bbdf752d
......@@ -834,7 +834,7 @@ public class ShoppingCartMCoffeeServiceImpl {
JSONObject object = JSONObject.parseObject(specialAttr.toString());
specialExtra.setAttributeId(object.containsKey("attributeId") ? object.getString("attributeId") : "");
specialExtra.setAttributeName(object.containsKey("attributeName") ? object.getString("attributeName") : "");
specialExtra.setAttributeId(object.containsKey("specialCode") ? object.getString("specialCode") : "");
specialExtra.setSpecialCode(object.containsKey("specialCode") ? object.getString("specialCode") : "");
}
cartGoods.setSpecialExtra(Arrays.asList(specialExtra));
}
......@@ -886,7 +886,7 @@ public class ShoppingCartMCoffeeServiceImpl {
JSONObject object = JSONObject.parseObject(specialAttr.toString());
specialExtra.setAttributeId(object.containsKey("attributeId") ? object.getString("attributeId") : "");
specialExtra.setAttributeName(object.containsKey("attributeName") ? object.getString("attributeName") : "");
specialExtra.setAttributeId(object.containsKey("specialCode") ? object.getString("specialCode") : "");
specialExtra.setSpecialCode(object.containsKey("specialCode") ? object.getString("specialCode") : "");
}
comboxGoods.setSpecialExtra(Arrays.asList(specialExtra));
}
......
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