|
@@ -248,9 +248,11 @@
|
|
|
<if test="type != null and type != 0" >
|
|
<if test="type != null and type != 0" >
|
|
|
and a.type = #{type,jdbcType=INTEGER}
|
|
and a.type = #{type,jdbcType=INTEGER}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <!--
|
|
|
<if test="hot != null">
|
|
<if test="hot != null">
|
|
|
and a.hot = #{hot,jdbcType=INTEGER}
|
|
and a.hot = #{hot,jdbcType=INTEGER}
|
|
|
- </if>
|
|
|
|
|
|
|
+ </if>
|
|
|
|
|
+ -->
|
|
|
<if test="keyword != null">
|
|
<if test="keyword != null">
|
|
|
and a.title like concat('%',#{keyword},'%')
|
|
and a.title like concat('%',#{keyword},'%')
|
|
|
</if>
|
|
</if>
|
|
@@ -270,10 +272,12 @@
|
|
|
</if>
|
|
</if>
|
|
|
<if test="type != null and type != 0" >
|
|
<if test="type != null and type != 0" >
|
|
|
and a.type = #{type,jdbcType=INTEGER}
|
|
and a.type = #{type,jdbcType=INTEGER}
|
|
|
- </if>
|
|
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <!--
|
|
|
<if test="hot != null">
|
|
<if test="hot != null">
|
|
|
and a.hot = #{hot,jdbcType=INTEGER}
|
|
and a.hot = #{hot,jdbcType=INTEGER}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ -->
|
|
|
<if test="keyword != null">
|
|
<if test="keyword != null">
|
|
|
and a.title like concat('%',#{keyword},'%')
|
|
and a.title like concat('%',#{keyword},'%')
|
|
|
</if>
|
|
</if>
|