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>