| | |
| | | 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> |
| | | |