|
@@ -49,6 +49,7 @@
|
|
|
and del_flag = 0
|
|
and del_flag = 0
|
|
|
and warehouse_user_id = #{query.warehouseUserId}
|
|
and warehouse_user_id = #{query.warehouseUserId}
|
|
|
</where>
|
|
</where>
|
|
|
|
|
+ order by create_time desc
|
|
|
LIMIT #{start}, #{size}
|
|
LIMIT #{start}, #{size}
|
|
|
) a
|
|
) a
|
|
|
LEFT JOIN kxs_machine_recycle_info t ON a.id = t.order_id
|
|
LEFT JOIN kxs_machine_recycle_info t ON a.id = t.order_id
|
|
@@ -61,7 +62,7 @@
|
|
|
concat('%',#{query.keyword},'%'))
|
|
concat('%',#{query.keyword},'%'))
|
|
|
</if>
|
|
</if>
|
|
|
</where>
|
|
</where>
|
|
|
- order by a.create_time desc
|
|
|
|
|
|
|
+
|
|
|
</select>
|
|
</select>
|
|
|
<!-- kxs app 回收订单列表分页 map -->
|
|
<!-- kxs app 回收订单列表分页 map -->
|
|
|
<resultMap type="com.kxs.store.api.vo.kxsapp.storeRecycle.RecycleUserListVO" id="KxsRecycleUserListVO">
|
|
<resultMap type="com.kxs.store.api.vo.kxsapp.storeRecycle.RecycleUserListVO" id="KxsRecycleUserListVO">
|
|
@@ -92,6 +93,7 @@
|
|
|
and del_flag = 0
|
|
and del_flag = 0
|
|
|
and user_id = #{userId}
|
|
and user_id = #{userId}
|
|
|
</where>
|
|
</where>
|
|
|
|
|
+ order by create_time desc
|
|
|
LIMIT #{start}, #{size}
|
|
LIMIT #{start}, #{size}
|
|
|
) a
|
|
) a
|
|
|
LEFT JOIN kxs_machine_recycle_info t ON a.id = t.order_id
|
|
LEFT JOIN kxs_machine_recycle_info t ON a.id = t.order_id
|
|
@@ -99,7 +101,7 @@
|
|
|
<where>
|
|
<where>
|
|
|
and t.del_flag = 0
|
|
and t.del_flag = 0
|
|
|
</where>
|
|
</where>
|
|
|
- order by a.create_time desc
|
|
|
|
|
|
|
+
|
|
|
</select>
|
|
</select>
|
|
|
<select id="needConfirmList" resultType="com.kxs.store.api.vo.kxsapp.storeRecycle.NeedConfirmPosListVO">
|
|
<select id="needConfirmList" resultType="com.kxs.store.api.vo.kxsapp.storeRecycle.NeedConfirmPosListVO">
|
|
|
select a.pos_sn, a.recycle_end_time, a.brand_id
|
|
select a.pos_sn, a.recycle_end_time, a.brand_id
|
|
@@ -107,6 +109,7 @@
|
|
|
left join kxs_machine_recycle b on a.order_id = b.id
|
|
left join kxs_machine_recycle b on a.order_id = b.id
|
|
|
where b.user_id = #{userId}
|
|
where b.user_id = #{userId}
|
|
|
and a.status = 0
|
|
and a.status = 0
|
|
|
|
|
+ order by b.create_time desc
|
|
|
</select>
|
|
</select>
|
|
|
<select id="recoverableData" resultType="java.lang.Integer">
|
|
<select id="recoverableData" resultType="java.lang.Integer">
|
|
|
select count(*)
|
|
select count(*)
|