From e030255c23c7ba3e2cbad1036a810d6d72fa864f Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期四, 26 十月 2023 18:04:58 +0800 Subject: [PATCH] 修改bug --- cloud-server-other/src/main/resources/mapper/SiteMapper.xml | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cloud-server-other/src/main/resources/mapper/SiteMapper.xml b/cloud-server-other/src/main/resources/mapper/SiteMapper.xml index 69d747e..ea05b70 100644 --- a/cloud-server-other/src/main/resources/mapper/SiteMapper.xml +++ b/cloud-server-other/src/main/resources/mapper/SiteMapper.xml @@ -76,7 +76,8 @@ select t1.*,t2.name storeName,t3.name siteTypeName from t_site t1 inner join t_store t2 on t1.storeId = t2.id left join t_site_type t3 on t1.siteTypeId = t3.id - <where> + where + t1.sign=0 <if test="query.objectType == 2"> and t1.cityManagerId = #{query.objectId} </if> @@ -99,7 +100,7 @@ and t1.name like concat('%',#{query.name},'%') </if> and t1.state != 3 - </where> + </select> <select id="listExipre" resultType="com.dsh.other.model.dto.siteDto.TSiteDTO"> select t1.*,t2.name storeName,t3.name siteTypeName ,t4.name operator from t_site t1 -- Gitblit v1.7.1