Authored by mali

鉴定服务视频

... ... @@ -9,7 +9,7 @@ public interface QiniuLiveRecordMapper {
List<QiniuLiveRecord> selectByOrderCodes(@Param("orderCodes") List<Long> orderCodes);
int updateProductBySkup(QiniuLiveRecord record);
int updateProductByOrderCode(QiniuLiveRecord record);
// int updateVideoBySkup(QiniuLiveRecord record);
... ...
... ... @@ -50,14 +50,14 @@
#{status,jdbcType=INTEGER}, #{cameraCode, jdbcType=INTEGER}, #{orderType, jdbcType=INTEGER})
</insert>
<update id="updateProductBySkup" parameterType="com.yoho.order.model.QiniuLiveRecord" >
<update id="updateProductByOrderCode" parameterType="com.yoho.order.model.QiniuLiveRecord" >
update qiniu_live_record
set seller_order_code = #{sellerOrderCode,jdbcType=BIGINT},
update_time = #{updateTime,jdbcType=INTEGER},
storage_id = #{storageId,jdbcType=INTEGER},
goods_id = #{goodsId,jdbcType=INTEGER},
product_id = #{productId,jdbcType=INTEGER}
where skup = #{skup,jdbcType=INTEGER}
where order_code = #{orderCode,jdbcType=BIGINT}
</update>
<update id="updateVedioBySkup" parameterType="com.yoho.order.model.QiniuLiveRecord" >
... ...
... ... @@ -108,7 +108,7 @@ public class LiveEventsListener implements ApplicationListener<QiniuLiveRecordEv
record.setUpdateTime(DateUtil.getCurrentTimeSeconds());
record.setGoodsId(0);
qiniuLiveRecordMapper.updateProductBySkup(record);
qiniuLiveRecordMapper.updateProductByOrderCode(record);
}
private QiniuLiveRecord convertQiNiuLiveRecord(BuyerOrderReq record) {
... ...