Преглед на файлове

[B端][修复]:券多商户支持后不能核销问题

release_toaliyun_real
hupeng преди 7 години
родител
ревизия
0c3036eef3
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. +3
    -3
      mallinkService/src/main/resources/mapper/WxCouponMerchantMapper.xml

+ 3
- 3
mallinkService/src/main/resources/mapper/WxCouponMerchantMapper.xml Целия файл

@@ -12,7 +12,7 @@
</resultMap>
<sql id="allColumns">
`id`,`coupon_id`,`merchant_id`,`parameter`,`create_date`,`update_date`,`status`
`id`,`product_id`,`merchant_id`,`parameter`,`create_date`,`update_date`,`status`
</sql>

<sql id="dynamicWhereConditions">
@@ -29,7 +29,7 @@
</if>

<if test=" null != merchantId ">
and `merchant_id` = #{merchantId}
and `merchant_id` = #{merchantId}

</if>
@@ -58,7 +58,7 @@
</sql>
<select id="findList" parameterType="com.iformall.domain.po.WxCouponMerchant" resultMap="BaseResultMap">
select <include refid="allColumns" /> from wx_user_channel
select <include refid="allColumns" /> from wx_coupon_merchant
<include refid="dynamicWhereConditions" />
</select>



Зареждане…
Отказ
Запис