包头工作流bug修复
This commit is contained in:
parent
0abcd24550
commit
b38dc8dcc8
@ -380,14 +380,16 @@ public class ProcessTaskServiceImpl implements ProcessTaskService {
|
|||||||
String valueType = jo.getString("valueType");
|
String valueType = jo.getString("valueType");
|
||||||
if (Objects.equals(valueType, "Array")) {
|
if (Objects.equals(valueType, "Array")) {
|
||||||
JSONArray items = jo.getJSONObject("props").getJSONArray("items");
|
JSONArray items = jo.getJSONObject("props").getJSONArray("items");
|
||||||
for (int j = 0; j < items.size(); j++) {
|
if (items != null) {
|
||||||
JSONObject jo1 = items.getJSONObject(j);
|
for (int j = 0; j < items.size(); j++) {
|
||||||
String valueType1 = jo.getString("valueType");
|
JSONObject jo1 = items.getJSONObject(j);
|
||||||
if (Objects.equals(valueType1, "Date")) {
|
String valueType1 = jo.getString("valueType");
|
||||||
if (jo1.getString("id").equals(fieldId)) {
|
if (Objects.equals(valueType1, "Date")) {
|
||||||
find = true;
|
if (jo1.getString("id").equals(fieldId)) {
|
||||||
format = jo1.getJSONObject("props").getString("format");
|
find = true;
|
||||||
break;
|
format = jo1.getJSONObject("props").getString("format");
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user