修复错误

This commit is contained in:
chenjinsong
2018-10-15 19:15:02 +08:00
parent 757989c5b8
commit 26f86f14ec

View File

@@ -201,6 +201,9 @@ public class ProcessController extends Controller {
Map<String,List<Map<String,String>>> result=new HashMap<>();
for (NodeTable node : allNode) {
List<ProcessInfo> procList = procService.findProcessByNodeId(node.getStr("id"));
if (procList == null || procList.size() == 0) {
continue;
}
List<Map<String,String>> procs=new ArrayList<>();
for (ProcessInfo proc : procList) {
Map<String,String> data=new HashMap<>();