|
|
|
@ -71,7 +71,7 @@ public class CockpitWorkflowAvgProcessTimeCmd {
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public Map<String,String> getWorkflowOperateAverageTime(SimpleEmployee employee,String tenantKey) {
|
|
|
|
|
String count = "0.0";
|
|
|
|
|
String count = "";
|
|
|
|
|
try{
|
|
|
|
|
RequestListConditionApiEntity conditionEntity = new RequestListConditionApiEntity();
|
|
|
|
|
conditionEntity.setOperatedate(DateTimeConditionEnum.CURRENT_YEAR);
|
|
|
|
@ -135,6 +135,9 @@ public class CockpitWorkflowAvgProcessTimeCmd {
|
|
|
|
|
String wf_name1 = "平均流程处理时间";
|
|
|
|
|
String wf_pkey1 = "workflow.processtime.amount";
|
|
|
|
|
String wf_url1 = jucailinCockpitUtils.getUfPropData(wf_pkey1,tenantKey);
|
|
|
|
|
if(StringUtils.isBlank(count)){
|
|
|
|
|
count = "0";
|
|
|
|
|
}
|
|
|
|
|
wfMap.put("count",count);
|
|
|
|
|
wfMap.put("name",wf_name1);
|
|
|
|
|
wfMap.put("url",wf_url1);
|
|
|
|
|