!55 feat(dqinspecttask): 分页查询VO及Mapper XML补充completedStage字段

* feat(dqinspecttask): 分页查询VO及Mapper XML补充completedStage字段
* feat(dqinspecttask): 新增completedStage字段及流程结束阶段递增监听器
This commit is contained in:
wsm
2026-06-26 07:57:32 +00:00
parent accad4456e
commit c061d09935
5 changed files with 65 additions and 0 deletions
@@ -146,6 +146,9 @@ public class DqInspectTask implements Serializable {
@Dict(dicCode = "super_status")
@Schema(description = "流程状态")
private java.lang.String bpmStatus;
/**已完成阶段数(初始0,每完成一个流程+1,第n个流程要求该字段为n-1才可发起)*/
@Schema(description = "已完成阶段数")
private java.lang.Integer completedStage = 0;
/**整改状态*/
@Excel(name = "整改状态", width = 15)
@ExcelColumn(name = "整改状态", width = 15)
@@ -29,6 +29,7 @@
t.bpm_process_id as bpmProcessId,
t.bpm_status as bpmStatus,
t.task_status as taskStatus,
t.completed_stage as completedStage,
t.supervise_count as superviseCount,
t.sort_no as sortNo,
t.create_time as createTime
@@ -57,6 +58,9 @@
<if test="task.problemId != null and task.problemId != ''">
and t.problem_id = #{task.problemId}
</if>
<if test="task.completedStage != null and task.completedStage != ''">
and t.completed_stage = #{task.completedStage}
</if>
</if>
order by
p_category.sort_no asc,
@@ -100,6 +100,9 @@ public class DqInspectTaskLedgerVo implements Serializable {
@Schema(description = "整改状态")
private String taskStatus;
@Schema(description = "已完成阶段数")
private Integer completedStage;
@Schema(description = "督办次数")
private String superviseCount;
@@ -130,6 +130,9 @@ public class DqInspectTaskPage {
@Excel(name = "整改状态", width = 15)
@Schema(description = "整改状态")
private java.lang.String taskStatus;
/**已完成阶段数*/
@Schema(description = "已完成阶段数")
private java.lang.Integer completedStage;
/**督办次数*/
@Excel(name = "督办次数", width = 15)
@Schema(description = "督办次数")