|
@@ -368,11 +368,11 @@ public class IVController {
|
|
|
// 读取关联表单
|
|
|
List<String> associationForm = (List<String>) JSON.parse(UtilMap.getString(data, "multiAssociation"));
|
|
|
List<String> formInstanceIds = new ArrayList<>();
|
|
|
-// for (String record : associationForm) {
|
|
|
-// // 解析关联表单
|
|
|
-// List<Map> associationData = (List<Map>) JSON.parse(record);
|
|
|
-// formInstanceIds.addAll(associationData.stream().map(form -> UtilMap.getString(form, "instanceId")).collect(Collectors.toList()));
|
|
|
-// }
|
|
|
+ for (String record : associationForm) {
|
|
|
+ // 解析关联表单
|
|
|
+ List<Map> associationData = (List<Map>) JSON.parse(record);
|
|
|
+ formInstanceIds.addAll(associationData.stream().map(form -> UtilMap.getString(form, "instanceId")).collect(Collectors.toList()));
|
|
|
+ }
|
|
|
// 宜搭批量更新
|
|
|
Map update = UtilMap.map(compId, status);
|
|
|
if (compId.equals("selectField_liihyrt6")) {
|