Commit 8a23f154 authored by 朱晨阳's avatar 朱晨阳

修改bug

parent ccf364cc
......@@ -159,7 +159,9 @@ public class HygfRectificationOrderController extends BaseController {
List<String> types = new ArrayList<>();
e.getRectificationIdea().forEach(t -> {
JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(t));
if(jsonObject.getString("type") != null) {
types.add(jsonObject.getString("type"));
}
});
e.setRectificationType(String.join(",", types));
}
......@@ -240,7 +242,9 @@ public class HygfRectificationOrderController extends BaseController {
List<String> types = new ArrayList<>();
e.getRectificationIdea().forEach(t -> {
JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(t));
if(jsonObject.getString("type") != null) {
types.add(jsonObject.getString("type"));
}
});
e.setRectificationType(String.join(",", types));
}
......@@ -328,7 +332,9 @@ public class HygfRectificationOrderController extends BaseController {
List<String> types = new ArrayList<>();
e.getRectificationIdea().forEach(t -> {
JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(t));
if(jsonObject.getString("type") != null) {
types.add(jsonObject.getString("type"));
}
});
e.setRectificationType(String.join(",", types));
}
......
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