Commit dace1fa3 by 111-PC\111

[+]下发指令代码修改

1 parent b5fcb6fb
...@@ -24,5 +24,5 @@ public interface SmartProductTypeMapper extends tk.mybatis.mapper.common.Mapper< ...@@ -24,5 +24,5 @@ public interface SmartProductTypeMapper extends tk.mybatis.mapper.common.Mapper<
List<SmartProductType> getListAndCondition(List<Long> list); List<SmartProductType> getListAndCondition(List<Long> list);
int findTypeIdByCat(int category_id); Integer findTypeIdByCat(int category_id);
} }
...@@ -137,7 +137,7 @@ public class SmartProductTypeServiceImpl extends BaseService implements SmartPro ...@@ -137,7 +137,7 @@ public class SmartProductTypeServiceImpl extends BaseService implements SmartPro
JSONObject object = array.getJSONObject(i); JSONObject object = array.getJSONObject(i);
JSONObject val = new JSONObject(); JSONObject val = new JSONObject();
int category_id = object.getInteger("category_id"); int category_id = object.getInteger("category_id");
int typeId = productTypeMapper.findTypeIdByCat(category_id); Integer typeId = productTypeMapper.findTypeIdByCat(category_id);
object.put("typeId", typeId); object.put("typeId", typeId);
newarray.add(object); newarray.add(object);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!