From 0ef2ea54b85d11f537a761e2028a40ec1ec1df1b Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 13 Feb 2023 15:55:31 +0800 Subject: [PATCH] 订单发货设置 --- src/main/resources/mapper/modules/MallSalesmanMapper.xml | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallSalesmanMapper.xml b/src/main/resources/mapper/modules/MallSalesmanMapper.xml index 202cbfc..dbe601e 100644 --- a/src/main/resources/mapper/modules/MallSalesmanMapper.xml +++ b/src/main/resources/mapper/modules/MallSalesmanMapper.xml @@ -9,4 +9,21 @@ GROUP BY a.id order by a.CREATED_TIME desc </select> + <select id="selectTreeByState" resultType="cc.mrbird.febs.mall.vo.AdminMallSalesmansTreeVo"> + SELECT + a.id, + a.name + FROM mall_salesman a + where a.state = #{state} + GROUP BY a.id order by a.CREATED_TIME desc + </select> + + <select id="agentSelect" resultType="cc.mrbird.febs.mall.vo.AdminAgentSelectVo"> + SELECT + a.id, + a.salesmans_id salesmansId + FROM mall_member a + where a.id = #{memberId} + </select> + </mapper> \ No newline at end of file -- Gitblit v1.9.1