bug fix 默认执行人为空的逻辑错误

This commit is contained in:
lbw committed 2024-02-24 17:15:50 +08:00
1 parent a493ac03a2
commit 4e2d87796f
1 file changed
+1 -1
@@ -71,7 +71,7 @@ public class MultiInstanceHandler {
Object variable = execution.getVariable(format);
String variableJson = objectMapper.writeValueAsString(variable);
List<NodeUser> nodeUserDtos = objectMapper.readValue(variableJson, new TypeReference<>() {
List<NodeUser> nodeUserDtos = objectMapper.readValue(variableJson, new TypeReference<List<NodeUser>>() {
});
if (CollUtil.isNotEmpty(nodeUserDtos)) {
List<Long> collect = nodeUserDtos.stream().map(NodeUser::getId).collect(Collectors.toList());