Browse Source

fix:控制返回多条or单条表单

侯茂昌 1 year ago
parent
commit
55c01f3e62

+ 1 - 2
zkqy-process-execution/src/main/java/com/zkqy/execution/produce/utils/EchoNodeFormData.java

@@ -65,8 +65,7 @@ public class EchoNodeFormData {
                 item.getCondition().put("task_key", bpmRunNodeFromVo.getTaskProcessKey());
                 item.getCondition().put("task_node_key", bpmRunNodeFromVo.getTaskNodeKey());
             }else {
-                String listKey = item.getListKey();
-                if(listKey != null && !listKey.isEmpty()){
+                if(item.getListKey().isEmpty()){
                     CommonEntity common = commonMapper.selectOne(item.getTableName(), item.getCondition());
                     if (common != null) {
                         commonEntity.get().getResultMap().put(item.getTableName(), common);