日程排序

This commit is contained in:
苏竹红
2023-07-03 14:41:44 +08:00
parent 3b5f73fb25
commit f1ef28b733
7 changed files with 35 additions and 10 deletions

View File

@@ -262,12 +262,7 @@
<if test="currentDate!=null and currentDate!=''">
and deadline = #{currentDate}
</if>
and
(
(workflow_stage = 1 and workflow_status = 0) or
(workflow_stage = 2 and workflow_status = 0) or
(workflow_stage = 3 and workflow_status = 4)
)
and (workflow_stage = 2 and workflow_status = 0)
</where>
</select>