From 19548f051d1592cab29490cb9d90e6e29bd2953c Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期日, 08 九月 2024 16:28:49 +0800 Subject: [PATCH] add:合伙人端加价管理批量保存 --- src/main/resources/mapper/flower/FlowerMapper.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/flower/FlowerMapper.xml b/src/main/resources/mapper/flower/FlowerMapper.xml index 3ebf9f8..e5dfa38 100644 --- a/src/main/resources/mapper/flower/FlowerMapper.xml +++ b/src/main/resources/mapper/flower/FlowerMapper.xml @@ -234,6 +234,10 @@ <select id="myCollect" resultType="com.mzl.flower.dto.response.flower.FlowerShowListDTO"> SELECT f.*, s.name supplierName, st.name supplierType, fc.name categoryStr + , (select sum(num) from t_cart ccc + where ccc.flower_id = f.id + and ccc.create_by = #{condition.userId} + ) shopnum FROM t_collect_flower c left join t_flower f on c.flower_id = f.id left join t_supplier_info s on s.id = f.supplier_id @@ -275,6 +279,10 @@ <select id="myBrowseHistory" resultType="com.mzl.flower.dto.response.flower.FlowerShowListDTO"> SELECT f.*, s.name supplierName, st.name supplierType, fc.name categoryStr + , (select sum(num) from t_cart ccc + where ccc.flower_id = f.id + and ccc.create_by = #{condition.userId} + ) shopnum FROM t_browse_his c left join t_flower f on c.flower_id = f.id left join t_supplier_info s on s.id = f.supplier_id -- Gitblit v1.9.3