|
@@ -21,10 +21,11 @@ |
|
@@ -21,10 +21,11 @@ |
21
|
<result column="show_flag" property="showFlag" jdbcType="INTEGER" />
|
21
|
<result column="show_flag" property="showFlag" jdbcType="INTEGER" />
|
22
|
<result column="camera_code" property="cameraCode" javaType="INTEGER" />
|
22
|
<result column="camera_code" property="cameraCode" javaType="INTEGER" />
|
23
|
<result column="video_url" property="vedioUrl" jdbcType="VARCHAR" />
|
23
|
<result column="video_url" property="vedioUrl" jdbcType="VARCHAR" />
|
|
|
24
|
+ <result column="order_type" property="orderType" jdbcType="INTEGER" />
|
24
|
</resultMap>
|
25
|
</resultMap>
|
25
|
<sql id="Base_Column_List" >
|
26
|
<sql id="Base_Column_List" >
|
26
|
id, order_code, skup, seller_order_code, depot_no, start_time, end_time, persist_id,
|
27
|
id, order_code, skup, seller_order_code, depot_no, start_time, end_time, persist_id,
|
27
|
- vedio_file_url, create_time, update_time, pid, status, storage_id, goods_id, product_id, show_flag, camera_code, video_url
|
28
|
+ vedio_file_url, create_time, update_time, pid, status, storage_id, goods_id, product_id, show_flag, camera_code, video_url, order_type
|
28
|
</sql>
|
29
|
</sql>
|
29
|
<select id="selectByOrderCodes" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
30
|
<select id="selectByOrderCodes" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
30
|
select
|
31
|
select
|
|
@@ -41,17 +42,12 @@ |
|
@@ -41,17 +42,12 @@ |
41
|
seller_order_code, depot_no, start_time,
|
42
|
seller_order_code, depot_no, start_time,
|
42
|
end_time, persist_id, vedio_file_url,
|
43
|
end_time, persist_id, vedio_file_url,
|
43
|
create_time, pid,
|
44
|
create_time, pid,
|
44
|
- status, camera_code)
|
45
|
+ status, camera_code, order_type)
|
45
|
values (#{orderCode,jdbcType=BIGINT}, #{skup,jdbcType=INTEGER},
|
46
|
values (#{orderCode,jdbcType=BIGINT}, #{skup,jdbcType=INTEGER},
|
46
|
#{sellerOrderCode,jdbcType=BIGINT}, #{depotNo,jdbcType=INTEGER}, #{startTime,jdbcType=INTEGER},
|
47
|
#{sellerOrderCode,jdbcType=BIGINT}, #{depotNo,jdbcType=INTEGER}, #{startTime,jdbcType=INTEGER},
|
47
|
#{endTime,jdbcType=INTEGER}, #{persistId,jdbcType=VARCHAR}, #{vedioFileUrl,jdbcType=VARCHAR},
|
48
|
#{endTime,jdbcType=INTEGER}, #{persistId,jdbcType=VARCHAR}, #{vedioFileUrl,jdbcType=VARCHAR},
|
48
|
#{createTime,jdbcType=INTEGER}, #{pid,jdbcType=INTEGER},
|
49
|
#{createTime,jdbcType=INTEGER}, #{pid,jdbcType=INTEGER},
|
49
|
- #{status,jdbcType=INTEGER}, #{cameraCode, jdbcType=INTEGER})
|
|
|
50
|
- </insert>
|
|
|
51
|
-
|
|
|
52
|
- <insert id="insertInitRecord" parameterType="com.yoho.order.model.QiniuLiveRecord" useGeneratedKeys="true" keyProperty="id">
|
|
|
53
|
- insert into qiniu_live_record (order_code, start_time, create_time, status, show_flag)
|
|
|
54
|
- values (#{orderCode,jdbcType=BIGINT}, #{startTime,jdbcType=INTEGER},#{createTime,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{showFlag,jdbcType=INTEGER})
|
50
|
+ #{status,jdbcType=INTEGER}, #{cameraCode, jdbcType=INTEGER}, #{orderType, jdbcType=INTEGER})
|
55
|
</insert>
|
51
|
</insert>
|
56
|
|
52
|
|
57
|
<update id="updateProductBySkup" parameterType="com.yoho.order.model.QiniuLiveRecord" >
|
53
|
<update id="updateProductBySkup" parameterType="com.yoho.order.model.QiniuLiveRecord" >
|