|
|
@ -39,7 +39,7 @@
|
|
|
|
where submit_user_id = #{userId}) t3
|
|
|
|
where submit_user_id = #{userId}) t3
|
|
|
|
on t3.submitKnowledgeId = t1.id
|
|
|
|
on t3.submitKnowledgeId = t1.id
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<where>
|
|
|
|
where 1 = 1
|
|
|
|
<choose>
|
|
|
|
<choose>
|
|
|
|
<when test="status == null">
|
|
|
|
<when test="status == null">
|
|
|
|
-- 如果为空,是查全部通过的
|
|
|
|
-- 如果为空,是查全部通过的
|
|
|
@ -74,7 +74,6 @@
|
|
|
|
<if test="publishDateEnd != null and publishDateEnd != ''">
|
|
|
|
<if test="publishDateEnd != null and publishDateEnd != ''">
|
|
|
|
and create_time <![CDATA[ <= ]]> #{publishDateEnd}
|
|
|
|
and create_time <![CDATA[ <= ]]> #{publishDateEnd}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
|
|
|
|
order by create_time desc
|
|
|
|
order by create_time desc
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|
|
|
|