|
@ -18,7 +18,8 @@ |
|
|
<if test = 'null != auditStatus and "" != auditStatus'> |
|
|
<if test = 'null != auditStatus and "" != auditStatus'> |
|
|
AND cover.AUDIT_STATUS = #{auditStatus} |
|
|
AND cover.AUDIT_STATUS = #{auditStatus} |
|
|
</if> |
|
|
</if> |
|
|
AND NOT EXISTS ( SELECT 1 FROM DRAFT_COVER WHERE cover.CREATED_TIME <![CDATA[ < ]]> CREATED_TIME ) |
|
|
ORDER BY cover.CREATED_TIME DESC |
|
|
|
|
|
LIMIT 1 |
|
|
</where> |
|
|
</where> |
|
|
</select> |
|
|
</select> |
|
|
<select id="selectCoverIdAndUrlByDraftId" resultType="com.epmet.dto.DraftCoverDTO"> |
|
|
<select id="selectCoverIdAndUrlByDraftId" resultType="com.epmet.dto.DraftCoverDTO"> |
|
|