Explorar el Código

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

release_toaliyun_real
hupeng hace 7 años
padre
commit
0c3036eef3
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. +3
    -3
      mallinkService/src/main/resources/mapper/WxCouponMerchantMapper.xml

+ 3
- 3
mallinkService/src/main/resources/mapper/WxCouponMerchantMapper.xml Ver fichero

@@ -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>



Cargando…
Cancelar
Guardar