| | |
| | | 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) |
| | |
| | | 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> |
| | | |
| | | |