Pu Zhibing
2025-09-19 2506c3f8e3ef1ace4a258a8c5f93ddd47a51bbd2
UserQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/crossCity/dao/mapping/OrderCrossCityMapper.xml
@@ -320,7 +320,7 @@
      a.driverId as driverId,
        a.peopleNumber as peopleNumber,
        a.seatNumber as seatNumber,
      a.orderMoney as orderMoney,
        if(a.abnormal = 2 and a.abnormalStatus = 2, a.responsibilityMoney, a.orderMoney) as orderMoney,
      a.redPacketMoney as redPacketMoney,
      a.couponMoney as couponMoney,
      a.discountMoney as discountMoney,
@@ -355,7 +355,9 @@
        a.abnormalRemark as abnormalRemark,
        a.abnormalIntro as abnormalIntro,
        a.abnormalImg as abnormalImg,
        a.companyId as companyId
        a.companyId as companyId,
        a.travelMode,
        0 as appealButton
        from t_order_cross_city a
      left join t_driver b on (a.driverId = b.id)
      left join t_car c on (a.carId = c.id)
@@ -618,7 +620,7 @@
        select
            id as orderId,
            DATE_FORMAT(insertTime, '%Y-%m-%d %H:%i') as orderTime,
            DATE_FORMAT(travelTime, '%m月?d日?%H:%i') as time,
            DATE_FORMAT(travelTime, '%m月?d日 %H:%i') as time,
        startAddress as startAddress,
        endAddress as endAddress,
        driverId as driverId,
@@ -634,14 +636,14 @@
        boardingTime,
        boardingLon,
        boardingLat
        from t_order_cross_city where userId = #{uid} order by insertTime desc limit #{pageNum}, #{size}
        from t_order_cross_city 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,
            DATE_FORMAT(insertTime, '%Y-%m-%d %H:%i') as orderTime,
            DATE_FORMAT(travelTime, '%m月?d日?%H:%i') as time,
            DATE_FORMAT(travelTime, '%m月?d日 %H:%i') as time,
        startAddress as startAddress,
        endAddress as endAddress,
        driverId as driverId,
@@ -657,6 +659,6 @@
        boardingTime,
        boardingLon,
        boardingLat
        from t_order_cross_city where userId = #{uid} order by insertTime desc
        from t_order_cross_city where userId = #{uid}  and state in (8, 9) order by insertTime desc
    </select>
</mapper>