标准维度

This commit is contained in:
yuezhihang
2021-12-02 13:45:36 +08:00
parent 4471941a51
commit 2b9b2fa68f
@@ -45,7 +45,9 @@ public class PEPtaskEstimateAfter implements TaskListener {
JSONObject object = JSONObject.parseObject(datas.getFormValsJson());
JSONArray jsonArray = JSONArray.parseArray(object.getString("dataList"));
//代码放这不带数据
JSONArray ne=new JSONArray();
ne.addAll(jsonArray);
//操作数据库
JSONArray remove = new JSONArray();
for (Object json : jsonArray) {
@@ -56,8 +58,7 @@ public class PEPtaskEstimateAfter implements TaskListener {
}
}
String uuid = String.valueOf(UUID.randomUUID());
JSONArray ne=new JSONArray();
ne.addAll(jsonArray);
//代码放这带数据
delegateTask.setVariable(uuid, ne);
jsonArray.removeAll(remove);
object.put("dataList", jsonArray);