| | |
| | | group by cityCode |
| | | ) as aa order by aa.code |
| | | </select> |
| | | <select id="queryCity2" resultType="map"> |
| | | |
| | | select * from ( |
| | | select cityCode as code, city as name |
| | | from t_store where state = 1 and provinceCode = #{provinceCode} |
| | | <if test="null != cityCode and '' != cityCode"> |
| | | and cityCode = #{cityCode} |
| | | </if> |
| | | <if test="null != type"> |
| | | and `type` = #{type} |
| | | </if> |
| | | <if test="null != operatorId"> |
| | | and operatorId = #{operatorId} |
| | | </if> |
| | | group by cityCode |
| | | ) as aa order by aa.code |
| | | </select> |
| | | |
| | | <select id="queryCity1" resultType="map"> |
| | | select * from ( |
| | | select cityCode as code, city as name from t_store where state = 1 |