Commit 642c8c14 by rongkailun

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

parent 8e024710
......@@ -425,7 +425,7 @@
<foreach collection="list" index="index" item="item" open="(" separator="," close=")">
#{item}
</foreach>
order by knowledgeInfoID desc
</select>
<select id="searchKnowledgeInfoList" resultType="java.util.Map">
SELECT
......@@ -679,7 +679,7 @@ ORDER BY
)
)
<choose>
<when test="newsParams.levels !=null and newsParams.levels !=''">
<when test="newsParams.levels !=null">
AND levels = #{newsParams.levels}
</when>
<otherwise>
......@@ -701,7 +701,7 @@ ORDER BY
<if test="newsParams.author !=null and newsParams.author !=''">
and author like concat('%',#{newsParams.author},'%')
</if>
<if test="newsParams.status !=null">
<if test="newsParams.status !=null and newsParams.status !=''">
and status =#{newsParams.status}
</if>
<if test="newsParams.auditor !=null and newsParams.auditor !=''">
......
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