Browse Source

待办任务修改

wangliang 1 year ago
parent
commit
e66be9588c

+ 11 - 0
sop-business/src/main/java/com/qmth/sop/business/bean/result/WorkTaskResult.java

@@ -120,6 +120,17 @@ public class WorkTaskResult implements Serializable {
     @ApiModelProperty(value = "超时天数")
     private Integer diffTime;
 
+    @ApiModelProperty(value = "流转到达时间")
+    private Long flowTime;
+
+    public Long getFlowTime() {
+        return flowTime;
+    }
+
+    public void setFlowTime(Long flowTime) {
+        this.flowTime = flowTime;
+    }
+
     public Integer getDiffTime() {
         return diffTime;
     }

+ 2 - 0
sop-business/src/main/resources/mapper/SysUserMapper.xml

@@ -36,6 +36,7 @@
                     tfcfe.t_f_custom_flow_id as customFlowId,
                     tfcf.flow_deployment_id as flowDeploymentId,
                     tfcfe.id as customFlowEntityid,
+                    tffa.update_time as flowTime,
                     datediff(now(),FROM_UNIXTIME(tffa.update_time / 1000,'%Y-%m-%d %H:%i:%s')) as diffTime
                 from
                     ACT_RU_TASK art
@@ -79,6 +80,7 @@
                     tfcfe.t_f_custom_flow_id as customFlowId,
                     tfcf.flow_deployment_id as flowDeploymentId,
                     tfcfe.id as customFlowEntityid,
+                    tffa.update_time as flowTime,
                     datediff(now(),FROM_UNIXTIME(tffa.update_time / 1000,'%Y-%m-%d %H:%i:%s')) as diffTime
                 from
                     ACT_RU_TASK art