From 93cad4adb07b320dfce8bc31453bca04ba7a9e4d Mon Sep 17 00:00:00 2001 From: Cui Zhi Feng <cuizf@fengyuntec.com> Date: 星期日, 08 九月 2024 07:50:47 +0800 Subject: [PATCH] 浏览历史和收藏列表返回购物车数量 --- src/main/resources/mapper/payment/OrderMapper.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/payment/OrderMapper.xml b/src/main/resources/mapper/payment/OrderMapper.xml index 2043d0b..00fe0c3 100644 --- a/src/main/resources/mapper/payment/OrderMapper.xml +++ b/src/main/resources/mapper/payment/OrderMapper.xml @@ -7,6 +7,10 @@ where status_backend = 'SEND' and partner_id is not null </update> + <select id="getPartnerOrderReceive" resultType="com.mzl.flower.entity.payment.Order"> + select * from t_order t where status_backend = 'SEND' and partner_id is not null + </select> + <select id="getOrderStatusCount" resultType="com.mzl.flower.dto.response.payment.OrderStatusCountDTO"> SELECT q.status_backend value, count(1) orderCount FROM t_order q -- Gitblit v1.9.3