|
@@ -78,6 +78,14 @@
|
|
|
from (
|
|
|
<include refid="Base_selectPage" />
|
|
|
) s
|
|
|
+ <trim prefix="WHERE" prefixOverrides="AND">
|
|
|
+ <if test="model.adName != null and model.adName != ''">
|
|
|
+ and s.ad_name like #{model.adName, typeHandler=fullLike}
|
|
|
+ </if>
|
|
|
+ <if test="model.adStatus != null and model.adStatus != ''">
|
|
|
+ and s.adStatus = #{model.adStatus, jdbcType=VARCHAR}
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
</select>
|
|
|
|
|
|
<!-- 广告和投放设备关联sql -->
|