|
@@ -69,14 +69,13 @@
|
|
|
</choose>
|
|
</choose>
|
|
|
and user_id = #{query.userId}
|
|
and user_id = #{query.userId}
|
|
|
</where>
|
|
</where>
|
|
|
- order by a.create_time desc
|
|
|
|
|
LIMIT #{start}, #{size}
|
|
LIMIT #{start}, #{size}
|
|
|
) a
|
|
) a
|
|
|
LEFT JOIN kxs_shop_order_info t ON a.id = t.order_id
|
|
LEFT JOIN kxs_shop_order_info t ON a.id = t.order_id
|
|
|
<where>
|
|
<where>
|
|
|
a.user_id = #{query.userId}
|
|
a.user_id = #{query.userId}
|
|
|
</where>
|
|
</where>
|
|
|
-
|
|
|
|
|
|
|
+ order by a.create_time desc
|
|
|
</select>
|
|
</select>
|
|
|
<select id="getDateBetweenOrders" resultType="com.kxs.product.api.vo.kxsapp.shop.ShopOrderGoodsUserVO">
|
|
<select id="getDateBetweenOrders" resultType="com.kxs.product.api.vo.kxsapp.shop.ShopOrderGoodsUserVO">
|
|
|
SELECT a.id, a.total_price, a.user_id
|
|
SELECT a.id, a.total_price, a.user_id
|