Commit bbdf752d by yu.sun

sunyu::update::fix bug about specialAttribute copyOrder

parent 13a1533f
......@@ -884,9 +884,9 @@ public class ShoppingCartMCoffeeServiceImpl {
JSONArray specialAttrs = JSONArray.parseArray(extJson.getString("specialAttrs"));
for (Object specialAttr : specialAttrs) {
JSONObject object = JSONObject.parseObject(specialAttr.toString());
specialExtra.setAttributeId(object.containsKey("attributeId") ? extJson.getString("attributeId") : "");
specialExtra.setAttributeName(object.containsKey("attributeName") ? extJson.getString("attributeName") : "");
specialExtra.setAttributeId(object.containsKey("specialCode") ? extJson.getString("specialCode") : "");
specialExtra.setAttributeId(object.containsKey("attributeId") ? object.getString("attributeId") : "");
specialExtra.setAttributeName(object.containsKey("attributeName") ? object.getString("attributeName") : "");
specialExtra.setAttributeId(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