puzhibing
2022-09-12 7da4caa40befd523033b8a1d01246ae468674680
UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/OpenCityBusinessMapper.xml
@@ -31,16 +31,12 @@
        a.updateUser as updateUser
        from t_open_city_business a
        left join t_open_city b on (a.openCityId = b.id)
        where a.flag != 3 and b.flag != 3
        <if test="null != district">
            and b.provinceName = #{district}
        </if>
        <if test="null != city">
            and b.cityName = #{city}
        </if>
        <if test="null != province">
            and b.areaName = #{province}
        </if>
        where a.flag != 3 and b.flag != 3 and b.cityId in (
        select id from t_city where englishName in
        <foreach collection="city" item="item" index="index" open="(" separator="," close=")">
            #{item}
        </foreach>
        )
        order by a.sort
    </select>