|
@@ -1,5 +1,6 @@
|
|
|
package com.zjugis.z_workflow.service;
|
|
|
|
|
|
+import cn.hutool.log.Log;
|
|
|
import com.zjugis.z_workflow.dao.IFlowInstanceDao;
|
|
|
import com.zjugis.z_workflow.entityExtend.HandlerCaseCenterListParamVo;
|
|
|
import com.zjugis.z_workflow.utils.ConvertUtils;
|
|
@@ -227,7 +228,7 @@ public class IFlowHandlerCountServce {
|
|
|
NORMAL("待办", (r, p) -> {
|
|
|
try {
|
|
|
Map<String, Integer> map = iFlowInstanceDaoBean.listHandlerCaseCountByAwait(p);
|
|
|
- r.put("NORMAL", ConvertUtils.toInteger(map.get("NUM")));
|
|
|
+ r.put("NORMAL", ConvertUtils.toInteger(map.get("num")));
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
@@ -244,7 +245,7 @@ public class IFlowHandlerCountServce {
|
|
|
} catch (Exception ex) {
|
|
|
ex.printStackTrace();
|
|
|
}
|
|
|
- r.put("FINISH", ConvertUtils.toInteger(map.get("NUM")));
|
|
|
+ r.put("FINISH", ConvertUtils.toInteger(map.get("num")));
|
|
|
}),
|
|
|
ARCHIVE("归档", (r, p) -> {
|
|
|
Map<String, Integer> map = null;
|
|
@@ -253,12 +254,12 @@ public class IFlowHandlerCountServce {
|
|
|
} catch (Exception ex) {
|
|
|
ex.printStackTrace();
|
|
|
}
|
|
|
- r.put("ARCHIVE", ConvertUtils.toInteger(map.get("NUM")));
|
|
|
+ r.put("ARCHIVE", ConvertUtils.toInteger(map.get("num")));
|
|
|
}),
|
|
|
CALLBACK("退回", (r, p) -> {
|
|
|
try {
|
|
|
Map<String, Integer> map = iFlowInstanceDaoBean.listHandlerCaseCountByCallback(p);
|
|
|
- r.put("CALLBACK", ConvertUtils.toInteger(map.get("NUM")));
|
|
|
+ r.put("CALLBACK", ConvertUtils.toInteger(map.get("num")));
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
@@ -266,7 +267,7 @@ public class IFlowHandlerCountServce {
|
|
|
HANGUP("挂起", (r, p) -> {
|
|
|
try {
|
|
|
Map<String, Integer> map = iFlowInstanceDaoBean.listHandlerCaseCountByHangUp(p);
|
|
|
- r.put("HANG_UP", ConvertUtils.toInteger(map.get("NUM")));
|
|
|
+ r.put("HANG_UP", ConvertUtils.toInteger(map.get("num")));
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
@@ -289,14 +290,14 @@ public class IFlowHandlerCountServce {
|
|
|
CC("抄送", (r, p) -> {
|
|
|
try {
|
|
|
Map<String, Integer> map = iFlowInstanceDaoBean.findCarbonCopyListCount(p);
|
|
|
- r.put("CC", ConvertUtils.toInteger(map.get("NUM")));
|
|
|
+ r.put("CC", ConvertUtils.toInteger(map.get("num")));
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
}),
|
|
|
SUPERVISE("督办", (r, p) -> {
|
|
|
Map<String, Integer> map = iFlowInstanceDaoBean.listHandlerCaseCountBySupervise(p);
|
|
|
- r.put("SUPERVISE", ConvertUtils.toInteger(map.get("NUM")));
|
|
|
+ r.put("SUPERVISE", ConvertUtils.toInteger(map.get("num")));
|
|
|
}),
|
|
|
TIMEOUT("超时", (r, p) -> {
|
|
|
r.put("TIMEOUT", iFlowInstanceDaoBean.listMonitorCenterTimeOutCount(p));
|
|
@@ -310,7 +311,7 @@ public class IFlowHandlerCountServce {
|
|
|
} else {//已办
|
|
|
map = iFlowInstanceDaoBean.getFinishedCountByDelegation(p);
|
|
|
}
|
|
|
- r.put("DELEGATION", ConvertUtils.toInteger(map.get("NUM")));
|
|
|
+ r.put("DELEGATION", ConvertUtils.toInteger(map.get("num")));
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|