|
|
|
@ -51,11 +51,11 @@
|
|
|
|
|
</when>
|
|
|
|
|
<when test="status == 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 test="status == 3">
|
|
|
|
|
-- 如果为3,则查驳回的
|
|
|
|
|
and ( status in (15,16,17) and t3.submitKnowledgeId is not null)
|
|
|
|
|
-- 如果为3,则查16驳回(删除) 17驳回(撤回)
|
|
|
|
|
and ( status in (16,17) and t3.submitKnowledgeId is not null)
|
|
|
|
|
</when>
|
|
|
|
|
<when test="status == 9">
|
|
|
|
|
and ( status in (10,11,12) and t3.submitKnowledgeId is not null)
|
|
|
|
|