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

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

release_toaliyun_real
hupeng 7 лет назад
Родитель
Сommit
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> </resultMap>
<sql id="allColumns"> <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>


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


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


</if> </if>
@@ -58,7 +58,7 @@
</sql> </sql>
<select id="findList" parameterType="com.iformall.domain.po.WxCouponMerchant" resultMap="BaseResultMap"> <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" /> <include refid="dynamicWhereConditions" />
</select> </select>




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