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