Commit 642c8c14 by rongkailun

【修改】应用领域查询修改

parent 8e024710
...@@ -425,7 +425,7 @@ ...@@ -425,7 +425,7 @@
<foreach collection="list" index="index" item="item" open="(" separator="," close=")"> <foreach collection="list" index="index" item="item" open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>
order by knowledgeInfoID desc
</select> </select>
<select id="searchKnowledgeInfoList" resultType="java.util.Map"> <select id="searchKnowledgeInfoList" resultType="java.util.Map">
SELECT SELECT
...@@ -679,7 +679,7 @@ ORDER BY ...@@ -679,7 +679,7 @@ ORDER BY
) )
) )
<choose> <choose>
<when test="newsParams.levels !=null and newsParams.levels !=''"> <when test="newsParams.levels !=null">
AND levels = #{newsParams.levels} AND levels = #{newsParams.levels}
</when> </when>
<otherwise> <otherwise>
...@@ -701,7 +701,7 @@ ORDER BY ...@@ -701,7 +701,7 @@ ORDER BY
<if test="newsParams.author !=null and newsParams.author !=''"> <if test="newsParams.author !=null and newsParams.author !=''">
and author like concat('%',#{newsParams.author},'%') and author like concat('%',#{newsParams.author},'%')
</if> </if>
<if test="newsParams.status !=null"> <if test="newsParams.status !=null and newsParams.status !=''">
and status =#{newsParams.status} and status =#{newsParams.status}
</if> </if>
<if test="newsParams.auditor !=null and newsParams.auditor !=''"> <if test="newsParams.auditor !=null and newsParams.auditor !=''">
...@@ -713,6 +713,6 @@ ORDER BY ...@@ -713,6 +713,6 @@ ORDER BY
<if test="newsParams.classId !=null and newsParams.classId !=''"> <if test="newsParams.classId !=null and newsParams.classId !=''">
and classid =#{newsParams.classId} and classid =#{newsParams.classId}
</if> </if>
order by id desc order by id desc
</select> </select>
</mapper> </mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment