Procházet zdrojové kódy

骑手排序收益统计改为统计已完成订单数据

codingliang před 1 rokem
rodič
revize
a37fb1a1fe

+ 1 - 1
src/main/resources/mapper/dataCentre/dataCenterMapper.xml

@@ -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},'%'))