修复错误
This commit is contained in:
@@ -201,6 +201,9 @@ public class ProcessController extends Controller {
|
|||||||
Map<String,List<Map<String,String>>> result=new HashMap<>();
|
Map<String,List<Map<String,String>>> result=new HashMap<>();
|
||||||
for (NodeTable node : allNode) {
|
for (NodeTable node : allNode) {
|
||||||
List<ProcessInfo> procList = procService.findProcessByNodeId(node.getStr("id"));
|
List<ProcessInfo> procList = procService.findProcessByNodeId(node.getStr("id"));
|
||||||
|
if (procList == null || procList.size() == 0) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
List<Map<String,String>> procs=new ArrayList<>();
|
List<Map<String,String>> procs=new ArrayList<>();
|
||||||
for (ProcessInfo proc : procList) {
|
for (ProcessInfo proc : procList) {
|
||||||
Map<String,String> data=new HashMap<>();
|
Map<String,String> data=new HashMap<>();
|
||||||
|
|||||||
Reference in New Issue
Block a user