puzhibing
2024-02-07 387f61d55a8e20bc772b026cba4f8c34dfce5665
UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/OpenCityMapper.xml
@@ -47,9 +47,11 @@
        insertUser as insertUser,
        updateTime as updateTime,
        updateUser as updateUser
        from t_open_city where flag = 1 and cityId in
        <foreach collection="city" item="item" index="index" separator="," open="(" close=")">
            #{item}
        </foreach>
        from t_open_city where flag = 1 and cityId in (
          select id from t_city where englishName in
            <foreach collection="city" item="item" index="index" separator="," open="(" close=")">
                #{item}
            </foreach>
        )
    </select>
</mapper>