liujie
2023-10-26 e030255c23c7ba3e2cbad1036a810d6d72fa864f
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