longz
2026-05-11 dc4972749d8dc399b02a548adfd12119fc8c2bcd
UserYKDTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/specialTrain/dao/mapping/OrderPrivateCarMapper.xml
@@ -392,7 +392,12 @@
      a.abnormalIntro,
      a.abnormalImg,
      a.companyId,
        IF((a.abnormalIntro is null and a.recoveryOrder = 1) or (a.state in (8, 9) and null = a.abnormal), 0, 1) as appealButton
        IF((a.abnormalIntro is null and a.recoveryOrder = 1) or (a.state in (8, 9) and null = a.abnormal), 0, 1) as appealButton,
        a.paymentMode,
        a.estimateAmount,
        a.serverCarModel,
        a.cancelType,
        a.prepayStage
        from t_order_private_car a
      left join t_driver b on (a.driverId = b.id)
      left join t_car c on (a.carId = c.id)
@@ -401,6 +406,7 @@
      left join t_order_evaluate g on (a.id = g.orderId and g.orderType = 1)
      left join t_order_cancel h on (a.id = h.orderId and h.orderType = 1 and h.state = 2)
      where a.id = #{orderId}
        LIMIT 1
    </select>