소스 검색

卡延期bug

release_toaliyun_real
xiaohanzi 5 년 전
부모
커밋
4575385a0e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml 파일 보기

@@ -1395,11 +1395,11 @@
</select>
<update id="cardDefer" parameterType="map">
update wx_coupon_order set coupon_order_status = 4,update_date = now(), expired_time= #{expireTime} where coupon_id = #{couponId} and coupon_order_status = 5
update wx_coupon_order set coupon_order_status = 4,update_date = now(), expired_time= #{expireTime} where coupon_id = #{couponId} and coupon_order_status in (4, 5)
</update>
<select id="cardDeferCouponOrderId" parameterType="java.lang.Long" resultType="java.lang.Long">
select id from wx_coupon_order where coupon_id = #{couponId} and coupon_order_status = 5
select id from wx_coupon_order where coupon_id = #{couponId} and coupon_order_status in (4, 5)
</select>

</mapper>

불러오는 중...
취소
저장