Просмотр исходного кода

[系统][修复]:CouponChannel业态类型更改

release_toaliyun_real
hupeng 7 лет назад
Родитель
Сommit
21fd88cc96
1 измененных файлов: 5 добавлений и 11 удалений
  1. +5
    -11
      mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml

+ 5
- 11
mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml Просмотреть файл

@@ -9,7 +9,7 @@
<result column="type" jdbcType="INTEGER" property="type" />
<result column="title" jdbcType="VARCHAR" property="title" />
<result column="target_ad" jdbcType="INTEGER" property="targetAd" />
<result column="business" jdbcType="VARCHAR" property="business" />
<result column="business" jdbcType="INTEGER" property="business" />
<result column="begin_time" jdbcType="TIMESTAMP" property="beginTime" />
<result column="end_time" jdbcType="TIMESTAMP" property="endTime" />
<result column="status" jdbcType="INTEGER" property="status" />
@@ -53,11 +53,8 @@
and `target_ad` = #{targetAd}
</if>

<if test=" null != business and '0' == business">
and JSON_CONTAINS(`business`->'$',JSON_ARRAY('0'))
</if>
<if test=" null != business and '0' != business">
and (JSON_CONTAINS(`business`->'$',JSON_ARRAY('0')) or (JSON_CONTAINS(`business`->'$',JSON_ARRAY(#{business}))))
<if test=" null != business ">
and `business` = #{business}
</if>

<if test=" null != beginTime ">
@@ -164,11 +161,8 @@
and `target_ad` = #{targetAd}
</if>

<if test=" null != business and '0' == business">
and JSON_CONTAINS(`business`->'$',JSON_ARRAY('0'))
</if>
<if test=" null != business and '0' != business">
and (JSON_CONTAINS(`business`->'$',JSON_ARRAY('0')) or (JSON_CONTAINS(`business`->'$',JSON_ARRAY(#{business}))))
<if test=" null != business ">
and `business` = #{business}
</if>

<if test=" null != beginTime ">


Загрузка…
Отмена
Сохранить