master
chen 4 years ago
parent b5dba4b13f
commit 2c138d7031
  1. 18
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgEfficiencyController.java
  2. 12
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/PersonalEfficiencyListResponse.java
  3. 1
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/util/TaskNodeUtil.java

@ -144,11 +144,23 @@ public class DgEfficiencyController {
}
}
}
//转换任务节点
//转换任务节点,并统计操作状态个数
responseList.forEach(personalEfficiencyListResponse -> {
String taskNode = personalEfficiencyListResponse.getTaskNode();
String converter = TaskNodeUtil.converter(taskNode);
personalEfficiencyListResponse.setTaskNode(converter);
if (taskNode!=null){
String converter = TaskNodeUtil.converter(taskNode);
personalEfficiencyListResponse.setTaskNode(converter);
}
if (personalEfficiencyListResponse.getOperatingStatus()!=null){
switch (personalEfficiencyListResponse.getOperatingStatus()){
case 0:
personalEfficiencyListResponse.setInitiateNum(personalEfficiencyListResponse.getInitiateNum()+1);
case 1:
personalEfficiencyListResponse.setPendingNum(personalEfficiencyListResponse.getPendingNum()+1);
case 2:
personalEfficiencyListResponse.setProcessedNum(personalEfficiencyListResponse.getProcessedNum()+1);
}
}
});
return ResponseResult.SUCCESS(responseList);

@ -21,6 +21,18 @@ public class PersonalEfficiencyListResponse {
@ApiModelProperty(value = "业务id")
private Integer businessId;
@ExcelIgnore
@ApiModelProperty("发起数")
private Integer initiateNum = 0;
@ExcelIgnore
@ApiModelProperty("待处理数")
private Integer pendingNum = 0;
@ExcelIgnore
@ApiModelProperty("已处理数")
private Integer processedNum = 0;
@ExcelIgnore
@ApiModelProperty(value = "提单人")
private Integer applicantId;

@ -1,6 +1,5 @@
package com.daqing.financial.guarantee.util;
import com.alibaba.excel.metadata.CellData;
/**
* @Author chen

Loading…
Cancel
Save