|
|
@@ -178,7 +178,7 @@
|
|
|
i.user_province as userProvince, i.user_city as userCity, i.user_district as userDistrict,rs.station_name as stationName
|
|
|
FROM tb_indent i left join tb_user u on i.rider_user_id = u.user_id
|
|
|
left join rider_station rs on u.rider_station_id=rs.id
|
|
|
- WHERE i.rider_user_id IS NOT NULL
|
|
|
+ WHERE i.rider_user_id IS NOT NULL and i.indent_state = 6
|
|
|
<if test="address!=null and address!=''">
|
|
|
and (i.user_province like concat('%',#{address},'%') or i.user_city like concat('%',#{address},'%') or
|
|
|
i.user_district like concat('%',#{address},'%'))
|