| | |
| | | FROM |
| | | blade_region |
| | | <where> |
| | | city_code = '360800000000' |
| | | city_code = '360800000000' |
| | | and region_level > '2' |
| | | <if test="param2.status!=null"> |
| | | and status = #{param1.status} |
| | | </if> |
| | |
| | | and code like concat(concat('%', #{param2.cityCode}),'%') |
| | | </if> |
| | | <if test="param2.districtName!=null and param2.districtName!=''"> |
| | | and district_name like concat(concat('%', #{param2.districtName}),'%') |
| | | and name like concat(concat('%', #{param2.districtName}),'%') |
| | | </if> |
| | | <if test="param2.parentName!=null and param2.parentName!=''"> |
| | | and ( |