分页

2019-10-25 15:45:24.562 DEBUG 23856 --- [nio-7887-exec-5] .p.r.c.d.C.selectListByOrderParams_COUNT : <== Total: 1
Time:10 ms - ID:com.infoholdcity.parking.repository.carpass.dao.CarParkingRecordMapper.selectListByOrderParams_COUNT
Execute SQL:SELECT count(0) FROM t_car_parking_record cpr LEFT JOIN t_station tsn ON cpr.station_id = tsn.id JOIN t_order_info oi ON oi.id = cpr.car_order_id WHERE cpr.status = 0 AND oi.order_status = 2 AND cpr.parking_id = ? AND cpr.car_in_out = ?

2019-10-25 15:45:24.563 DEBUG 23856 --- [nio-7887-exec-5] c.i.p.r.c.d.C.selectListByOrderParams : ==> Preparing: SELECT cpr.id, cpr.car_platenum, cpr.car_type, cpr.car_in_time, cpr.car_out_time, cpr.car_fee_type, cpr.car_parking_time, cpr.car_order_id, cpr.car_in_pic, cpr.car_out_pic, cpr.status, cpr.car_entrance, cpr.car_exit, cpr.car_in_out, cpr.station_id, cpr.car_thumb_nail, cpr.parking_id, cpr.abnormal_reason, cpr.car_stopfee_time, cpr.fee_repeat, cpr.park_type, cpr.space_id, tsn.station_name AS stationname, oi.order_price price, oi.order_total_price as shouldPrice, oi.order_pay_name payWay, oi.order_status payStatus, oi.order_coupon_fee as subPrice, oi.order_is_coupon subWay FROM t_car_parking_record cpr LEFT JOIN t_station tsn ON cpr.station_id = tsn.id JOIN t_order_info oi ON oi.id = cpr.car_order_id WHERE cpr.status = 0 AND oi.order_status = 2 AND cpr.parking_id = ? AND cpr.car_in_out = ? ORDER BY oi.order_pay_time ASC LIMIT ? OFFSET ?
2019-10-25 15:45:24.566 DEBUG 23856 --- [nio-7887-exec-5] c.i.p.r.c.d.C.selectListByOrderParams : ==> Parameters: 619c2cab357e429d8f8904fb25ae1eb1(String), 0(Short), 3(Integer), 42(Integer)
2019-10-25 15:45:24.577 DEBUG 23856 --- [nio-7887-exec-5] c.i.p.r.c.d.C.selectListByOrderParams : <== Total: 3
Time:11 ms - ID:com.infoholdcity.parking.repository.carpass.dao.CarParkingRecordMapper.selectListByOrderParams
Execute SQL:SELECT cpr.id, cpr.car_platenum, cpr.car_type, cpr.car_in_time, cpr.car_out_time, cpr.car_fee_type, cpr.car_parking_time, cpr.car_order_id, cpr.car_in_pic, cpr.car_out_pic, cpr.status, cpr.car_entrance, cpr.car_exit, cpr.car_in_out, cpr.station_id, cpr.car_thumb_nail, cpr.parking_id, cpr.abnormal_reason, cpr.car_stopfee_time, cpr.fee_repeat, cpr.park_type, cpr.space_id, tsn.station_name AS stationname, oi.order_price price, oi.order_total_price as shouldPrice, oi.order_pay_name payWay, oi.order_status payStatus, oi.order_coupon_fee as subPrice, oi.order_is_coupon subWay FROM t_car_parking_record cpr LEFT JOIN t_station tsn ON cpr.station_id = tsn.id JOIN t_order_info oi ON oi.id = cpr.car_order_id WHERE cpr.status = 0 AND oi.order_status = 2 AND cpr.parking_id = ? AND cpr.car_in_out = ? ORDER BY oi.order_pay_time ASC LIMIT ? OFFSET ?

分页

上一篇:分布式唯一ID(三)--Leaf-Segment数据库方案


下一篇:Side parking skill