Pu Zhibing
2 天以前 21ee0e811348793da746bc9e6ebe2ec226da2a8a
UserQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/taxi/dao/mapping/OrderTaxiMapper.xml
@@ -148,7 +148,7 @@
        state as state,
        oldState as oldState,
        thankYouFee
        from t_order_taxi where userId = #{uid} order by insertTime desc limit #{pageNum}, #{size}
        from t_order_taxi where userId = #{uid} and isGenerateRecoveryOrder = 0 order by insertTime desc limit #{pageNum}, #{size}
    </select>
@@ -225,7 +225,7 @@
        a.endLat as endLat,
        a.endAddress as endAddress,
      a.driverId as driverId,
      a.orderMoney as orderMoney,
        if(a.abnormal = 2 and a.abnormalStatus = 2, a.responsibilityMoney, a.orderMoney) as orderMoney,
      a.travelMoney as travelMoney,
      a.parkMoney as parkMoney,
      a.roadTollMoney as roadTollMoney,
@@ -264,7 +264,8 @@
        a.abnormalRemark,
        a.abnormalIntro,
        a.abnormalImg,
        a.companyId
        a.companyId,
        0 as appealButton
        from t_order_taxi a
      left join t_driver b on (a.driverId = b.id)
      left join t_car c on (a.carId = c.id)
@@ -435,7 +436,7 @@
        boardingTime,
        boardingLon,
        boardingLat
        from t_order_taxi where userId = #{uid} order by insertTime desc limit #{pageNum}, #{size}
        from t_order_taxi where userId = #{uid}  and state in (8, 9) order by insertTime desc limit #{pageNum}, #{size}
    </select>
    <select id="queryMyTripListAll" resultType="map">
@@ -458,6 +459,6 @@
        boardingTime,
        boardingLon,
        boardingLat
        from t_order_taxi where userId = #{uid} order by insertTime desc
        from t_order_taxi where userId = #{uid}  and state in (8, 9) order by insertTime desc
    </select>
</mapper>