From 05ddd297f309d6ec0d5994f7f6cc3547ea64a683 Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期五, 15 二月 2019 11:01:26 +0800 Subject: [PATCH] 移动端帮助中心 --- fanli/src/main/java/com/yeshi/fanli/mapping/help/HelpCenterMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/mapping/help/HelpCenterMapper.xml b/fanli/src/main/java/com/yeshi/fanli/mapping/help/HelpCenterMapper.xml index 7be9428..78e974e 100644 --- a/fanli/src/main/java/com/yeshi/fanli/mapping/help/HelpCenterMapper.xml +++ b/fanli/src/main/java/com/yeshi/fanli/mapping/help/HelpCenterMapper.xml @@ -59,7 +59,7 @@ AND ht.h_title like '%${key}%' </if> <if test='cid != null'> - AND ht.h_cid = cid + AND ht.h_cid = #{cid} </if> <if test='orderMode == 1'> @@ -94,19 +94,19 @@ AND h_title like '%${key}%' </if> <if test='cid != null'> - AND h_cid = cid + AND h_cid = #{cid} </if> </select> <select id="queryIdAndTitle" resultMap="BaseResultMap"> <!-- 鏍规嵁鏉′欢鏌ヨ鎵�鏈夋爣绛� --> SELECT h_id, h_title FROM yeshi_ec_help_center - WHERE <![CDATA[1>0]]> + WHERE 1=1 <if test='key != null and key != ""'> AND h_title like '%${key}%' </if> <if test='cid != null'> - AND h_cid = cid + AND h_cid = #{cid} </if> ORDER BY h_weight DESC, h_createtime -- Gitblit v1.8.0