Commit b66c5424 by 111-PC\111

[+]下发指令代码修改

1 parent 67032e95
...@@ -139,7 +139,6 @@ public class SmartProductTypeServiceImpl extends BaseService implements SmartPro ...@@ -139,7 +139,6 @@ public class SmartProductTypeServiceImpl extends BaseService implements SmartPro
int len = array.size(); int len = array.size();
for (int i = 0; i < len; i++) { for (int i = 0; i < len; i++) {
JSONObject object = array.getJSONObject(i); JSONObject object = array.getJSONObject(i);
JSONObject val = new JSONObject();
int category_id = object.getInteger("category_id"); int category_id = object.getInteger("category_id");
SmartProductType productType = productTypeMapper.getByCategoryId(category_id); SmartProductType productType = productTypeMapper.getByCategoryId(category_id);
object.put("typeId", productType.getId()); object.put("typeId", productType.getId());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!