From f52dec1307fded163c1011a948c430072779fad9 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 10 Aug 2022 15:14:47 +0800 Subject: [PATCH] 20220810 --- src/main/resources/mapper/modules/MallOrderInfoMapper.xml | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml index b1ebead..aff7cc1 100644 --- a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml +++ b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml @@ -342,4 +342,13 @@ delivery_state = #{deliveryState} where id = #{orderId} </update> + + <select id="selectMemberOrderStatusCntByUniquecode" resultType="java.util.Map"> + select + status, + count(1) cnt + from mall_order_info + where del_flag = 2 and take_unique_code = #{uniqueCode} + group by status + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1