fanli/src/main/java/com/yeshi/fanli/mapping/goods/HotSearchMapper.xml
@@ -43,6 +43,7 @@ WHERE 1=1 <if test="systemId != null">AND sp.`system_id` = #{systemId}</if> <if test="key != null and key != ''">AND hc.`name` LIKE '%#{key}%'</if> <if test="useType != null">AND hc.`use_type` = #{useType}</if> )A LEFT JOIN yeshi_ec_hot_search h ON A.hid = h.`id` ORDER BY h.`orderby` DESC @@ -59,6 +60,7 @@ <if test="key != null and key != ''"> AND hc.`name` LIKE '%#{key}%' </if> <if test="useType != null">AND hc.`use_type` = #{useType}</if> </select> </mapper>