puzhibing
2022-09-29 e28d33c09405e246a2d75fcb1f69a9e8e9d911b8
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>