Showing
3 changed files
with
4 additions
and
4 deletions
@@ -9,7 +9,7 @@ public interface QiniuLiveRecordMapper { | @@ -9,7 +9,7 @@ public interface QiniuLiveRecordMapper { | ||
9 | 9 | ||
10 | List<QiniuLiveRecord> selectByOrderCodes(@Param("orderCodes") List<Long> orderCodes); | 10 | List<QiniuLiveRecord> selectByOrderCodes(@Param("orderCodes") List<Long> orderCodes); |
11 | 11 | ||
12 | - int updateProductBySkup(QiniuLiveRecord record); | 12 | + int updateProductByOrderCode(QiniuLiveRecord record); |
13 | 13 | ||
14 | // int updateVideoBySkup(QiniuLiveRecord record); | 14 | // int updateVideoBySkup(QiniuLiveRecord record); |
15 | 15 |
@@ -50,14 +50,14 @@ | @@ -50,14 +50,14 @@ | ||
50 | #{status,jdbcType=INTEGER}, #{cameraCode, jdbcType=INTEGER}, #{orderType, jdbcType=INTEGER}) | 50 | #{status,jdbcType=INTEGER}, #{cameraCode, jdbcType=INTEGER}, #{orderType, jdbcType=INTEGER}) |
51 | </insert> | 51 | </insert> |
52 | 52 | ||
53 | - <update id="updateProductBySkup" parameterType="com.yoho.order.model.QiniuLiveRecord" > | 53 | + <update id="updateProductByOrderCode" parameterType="com.yoho.order.model.QiniuLiveRecord" > |
54 | update qiniu_live_record | 54 | update qiniu_live_record |
55 | set seller_order_code = #{sellerOrderCode,jdbcType=BIGINT}, | 55 | set seller_order_code = #{sellerOrderCode,jdbcType=BIGINT}, |
56 | update_time = #{updateTime,jdbcType=INTEGER}, | 56 | update_time = #{updateTime,jdbcType=INTEGER}, |
57 | storage_id = #{storageId,jdbcType=INTEGER}, | 57 | storage_id = #{storageId,jdbcType=INTEGER}, |
58 | goods_id = #{goodsId,jdbcType=INTEGER}, | 58 | goods_id = #{goodsId,jdbcType=INTEGER}, |
59 | product_id = #{productId,jdbcType=INTEGER} | 59 | product_id = #{productId,jdbcType=INTEGER} |
60 | - where skup = #{skup,jdbcType=INTEGER} | 60 | + where order_code = #{orderCode,jdbcType=BIGINT} |
61 | </update> | 61 | </update> |
62 | 62 | ||
63 | <update id="updateVedioBySkup" parameterType="com.yoho.order.model.QiniuLiveRecord" > | 63 | <update id="updateVedioBySkup" parameterType="com.yoho.order.model.QiniuLiveRecord" > |
@@ -108,7 +108,7 @@ public class LiveEventsListener implements ApplicationListener<QiniuLiveRecordEv | @@ -108,7 +108,7 @@ public class LiveEventsListener implements ApplicationListener<QiniuLiveRecordEv | ||
108 | record.setUpdateTime(DateUtil.getCurrentTimeSeconds()); | 108 | record.setUpdateTime(DateUtil.getCurrentTimeSeconds()); |
109 | record.setGoodsId(0); | 109 | record.setGoodsId(0); |
110 | 110 | ||
111 | - qiniuLiveRecordMapper.updateProductBySkup(record); | 111 | + qiniuLiveRecordMapper.updateProductByOrderCode(record); |
112 | } | 112 | } |
113 | 113 | ||
114 | private QiniuLiveRecord convertQiNiuLiveRecord(BuyerOrderReq record) { | 114 | private QiniuLiveRecord convertQiNiuLiveRecord(BuyerOrderReq record) { |
-
Please register or login to post a comment