Browse Source

草稿列表不查询已发布文章的

master
sunyuchao 3 years ago
parent
commit
ce8b83d33d
  1. 1
      epmet-module/gov-voice/gov-voice-server/src/main/resources/mapper/DraftDao.xml

1
epmet-module/gov-voice/gov-voice-server/src/main/resources/mapper/DraftDao.xml

@ -202,6 +202,7 @@
LEFT JOIN draft_cover ac ON a.id = ac.draft_id AND ac.del_flag = '0' LEFT JOIN draft_cover ac ON a.id = ac.draft_id AND ac.del_flag = '0'
WHERE WHERE
a.del_flag = '0' a.del_flag = '0'
AND (a.STATUS_FLAG = 'unpublish' OR a.STATUS_FLAG = 'auditfail')
<if test="draftId != null and draftId != '' "> <if test="draftId != null and draftId != '' ">
AND a.id = #{draftId} AND a.id = #{draftId}
</if> </if>

Loading…
Cancel
Save