增加驳回的一些状态

release_1.0.0
liu 12 months ago
parent 8c3854ed7b
commit 20e0b9e66e

@ -51,11 +51,11 @@
</when> </when>
<when test="status == 1"> <when test="status == 1">
-- 如果是1,只查自己的草稿 -- 如果是1,只查自己的草稿
and ( draft_belong_user_id = #{userId} and status = 1) and ( draft_belong_user_id = #{userId} and (status = 1 or status = 15))
</when> </when>
<when test="status == 3"> <when test="status == 3">
-- 如果为3,则查驳回的 -- 如果为3,则查16驳回(删除) 17驳回(撤回)
and ( status in (15,16,17) and t3.submitKnowledgeId is not null) and ( status in (16,17) and t3.submitKnowledgeId is not null)
</when> </when>
<when test="status == 9"> <when test="status == 9">
and ( status in (10,11,12) and t3.submitKnowledgeId is not null) and ( status in (10,11,12) and t3.submitKnowledgeId is not null)

Loading…
Cancel
Save