Pu Zhibing
2025-08-01 926e065fb0b4424d0d51023c234a92433bac61c8
UserQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/specialTrain/dao/mapping/OrderPrivateCarMapper.xml
@@ -581,4 +581,52 @@
        </if>
    </select>
    <select id="queryMyTripList" resultType="map">
        select
            id as orderId,
            rideType as rideType,
            DATE_FORMAT(insertTime, '%Y-%m-%d %H:%i') as orderTime,
            DATE_FORMAT(travelTime, '%m月?d日 %H:%i') as time,
        startAddress as startAddress,
        endAddress as endAddress,
        driverId as driverId,
        (1) as orderType,
        state as state,
        oldState as oldState,
        thankYouFee,
        passengersPhone,
        payMoney,
        endServiceTime,
        companyId,
        arriveTime,
        boardingTime,
        boardingLon,
        boardingLat
        from t_order_private_car where userId = #{uid}  and state in (8, 9)  order by insertTime desc limit #{pageNum}, #{size}
    </select>
    <select id="queryMyTripListAll" resultType="map">
        select
            id as orderId,
            rideType as rideType,
            DATE_FORMAT(insertTime, '%Y-%m-%d %H:%i') as orderTime,
            DATE_FORMAT(travelTime, '%m月?d日 %H:%i') as time,
        startAddress as startAddress,
        endAddress as endAddress,
        driverId as driverId,
        (1) as orderType,
        state as state,
        oldState as oldState,
        thankYouFee,
        passengersPhone,
        payMoney,
        endServiceTime,
        companyId,
        arriveTime,
        boardingTime,
        boardingLon,
        boardingLat
        from t_order_private_car where userId = #{uid}  and state in (8, 9) order by insertTime desc
    </select>
</mapper>