From d7267c7e475cb544bdd0d3132fc23831cbb0a2aa Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期三, 25 十月 2023 11:22:47 +0800 Subject: [PATCH] 运营商权限 --- cloud-server-management/src/main/resources/mapper/TStoreMapper.xml | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml b/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml index c35746a..15fa840 100644 --- a/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml +++ b/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml @@ -52,6 +52,9 @@ <if test="shopName !=null and shopName !=''"> and t1.name like concat("%",#{shopName},"%") </if> + <if test="operatorId !=null and operatorId !=''"> + and t1.operatorId = #{operatorId} + </if> </select> <select id="queryProvince" resultType="map"> select * from ( @@ -150,7 +153,7 @@ </select> <select id="listAllStore" resultType="com.dsh.guns.modular.system.model.TStoreListVo"> select t1.*,t2.name userName,t2.phone userPhone,t3.name yysName from t_store t1 left join sys_user t2 on t1.storeStaffId = t2.id left join t_operator t3 on t1.operatorId = t3.id - where t1.id =#{id} + where t1.id =#{operatorId} <if test="provinceCode !=null and provinceCode !=''"> and t1.provinceCode = #{provinceCode} </if> -- Gitblit v1.7.1