Commit c3bad154 by 陶光胜

门店导出修改

parent 14f13d82
......@@ -482,7 +482,13 @@ public class StoreApiServiceImpl implements StoreApiService {
List<JSONObject> jsonObjectList = new ArrayList<>();
for(int j =0 ;j< list.size(); j++){
list.getJSONObject(j).put("type", "data");
jsonObjectList.add(list.getJSONObject(j));
JSONObject data = list.getJSONObject(j);
data.put("type", "data");
String compute = data.getString("compute");
if(OperateEnum.OPERATE_BETWEEN.getValue().equals(compute)){
data.put("value", data.getString("value").replaceAll(" ", ","));
}
jsonObjectList.add(data);
}
JSONObject json = null;
if(i > 0 && OperateEnum.OPERATE_AND_NOT.getValue().equals(type)){
......
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