Преглед изворни кода

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

release_toaliyun_real
hupeng пре 7 година
родитељ
комит
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 ">


Loading…
Откажи
Сачувај