fix: 任务审批列表及详情

fix/UpdateFlowComplete20240416
sunchenliang 1 year ago
parent 1b0a0efa29
commit 7b63de2dc6

@ -1509,6 +1509,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
ocrTaskchildPictureApproVo.setProjectName(one.getFromprojectname());//项目名称
ocrTaskchildPictureApproVo.setCustomerLevel(one.getFromCustomerLevel());//客户级别
ocrTaskchildPictureApproVo.setReleaseArea(one.getFromCity());//拜访城市
ocrTaskchildPictureApproVo.setTaskIndex(one.getTaskIndex()==null?"1":one.getTaskIndex());
listNew.add(ocrTaskchildPictureApproVo);
}

@ -199,4 +199,7 @@ public class OcrTaskchildPictureAppro implements java.io.Serializable {
@ApiModelProperty(value = "是否重复")
private Integer isRepeat;
@ApiModelProperty(value = "当前节点")
private String taskIndex;
}

@ -83,4 +83,7 @@ public class OcrTaskchildPictureApproVo implements java.io.Serializable {
@ApiModelProperty(value ="任务包主键")
private String packageid;
@ApiModelProperty(value = "当前节点")
private String taskIndex;
}

@ -627,6 +627,7 @@
uf.TASKNAME as TASKNAMEHIS,
uf.STATSHIS,
uf.TASKNO,
uf.TASKINDEX,
op.field6 as fromCustomerLevel,
op.releaseArea as fromCity,
@ -646,7 +647,7 @@
)
</if>
UNION
select tc.*, uf.COMMENTHIS, uf.TASKNAME as TASKNAMEHIS, uf.STATSHIS, uf.TASKNO, op.field6 as fromCustomerLevel, op.releaseArea as fromCity, op.is_repeat, tc.is_repeated_nodules as isRepeatedNodules
select tc.*, uf.COMMENTHIS, uf.TASKNAME as TASKNAMEHIS, uf.TASKINDEX,uf.STATSHIS, uf.TASKNO, op.field6 as fromCustomerLevel, op.releaseArea as fromCity, op.is_repeat, tc.is_repeated_nodules as isRepeatedNodules
from ocr_taskchild_picture tc, OA_USERAPPROVE_T uf, ocr_picture op
where tc.ID = uf.FORMID
and tc.PICTUREID = op.ID

Loading…
Cancel
Save