|
|
@@ -18,8 +18,6 @@ |
|
|
<result column="valid_end_date" jdbcType="TIMESTAMP" property="validEndDate" /> |
|
|
<result column="valid_end_date" jdbcType="TIMESTAMP" property="validEndDate" /> |
|
|
<result column="valid_days" jdbcType="INTEGER" property="validDays" /> |
|
|
<result column="valid_days" jdbcType="INTEGER" property="validDays" /> |
|
|
<result column="detail" jdbcType="VARCHAR" property="detail" /> |
|
|
<result column="detail" jdbcType="VARCHAR" property="detail" /> |
|
|
<result column="send_type" jdbcType="INTEGER" property="sendType" /> |
|
|
|
|
|
<result column="target_ad" jdbcType="INTEGER" property="targetAd" /> |
|
|
|
|
|
<result column="businesses" jdbcType="VARCHAR" property="businesses" /> |
|
|
<result column="businesses" jdbcType="VARCHAR" property="businesses" /> |
|
|
<result column="price" jdbcType="DECIMAL" property="price" /> |
|
|
<result column="price" jdbcType="DECIMAL" property="price" /> |
|
|
<result column="number" jdbcType="INTEGER" property="number" /> |
|
|
<result column="number" jdbcType="INTEGER" property="number" /> |
|
|
@@ -115,16 +113,7 @@ |
|
|
and `detail` like concat('%', #{detail},'%') |
|
|
and `detail` like concat('%', #{detail},'%') |
|
|
|
|
|
|
|
|
</if> |
|
|
</if> |
|
|
|
|
|
|
|
|
<if test=" null != sendType "> |
|
|
|
|
|
and `send_type` = #{sendType} |
|
|
|
|
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
<if test=" null != targetAd "> |
|
|
|
|
|
and `target_ad` = #{targetAd} |
|
|
|
|
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<if test=" null != businesses "> |
|
|
<if test=" null != businesses "> |
|
|
and `businesses` like concat('%', #{businesses},'%') |
|
|
and `businesses` like concat('%', #{businesses},'%') |
|
|
|