|
|
|
@@ -101,14 +101,23 @@ |
|
|
|
<include refid="dynamicWhereConditions" /> |
|
|
|
</select> |
|
|
|
|
|
|
|
<update id="updateStatusByCouponId" parameterType="com.iformall.domain.po.WxCouponChannel"> |
|
|
|
update wx_coupon_channel |
|
|
|
set status=#{status}, update_date=#{updateDate} |
|
|
|
where coupon_id=#{couponId} |
|
|
|
<if test=" null != tenantId "> |
|
|
|
and tenant_id = #{tenantId} |
|
|
|
</if> |
|
|
|
</update> |
|
|
|
<update id="updateStatusByCouponId" parameterType="com.iformall.domain.po.WxCouponChannel"> |
|
|
|
update wx_coupon_channel |
|
|
|
set status=#{status}, update_date=#{updateDate} |
|
|
|
where coupon_id=#{couponId} |
|
|
|
<if test=" null != tenantId "> |
|
|
|
and tenant_id = #{tenantId} |
|
|
|
</if> |
|
|
|
</update> |
|
|
|
|
|
|
|
<update id="updateEndTimeByCouponId" parameterType="com.iformall.domain.po.WxCouponChannel"> |
|
|
|
update wx_coupon_channel |
|
|
|
set end_time = #{endTime} |
|
|
|
where coupon_id=#{couponId} |
|
|
|
<if test=" null != tenantId "> |
|
|
|
and tenant_id = #{tenantId} |
|
|
|
</if> |
|
|
|
</update> |
|
|
|
|
|
|
|
<sql id="CouponChannelVoColumns"> |
|
|
|
<include refid="allColumns" />, |
|
|
|
|