| | |
| | | and serverCarModelId = #{serverCarModelId} |
| | | </if> |
| | | ) |
| | | ) as aa where aa.id not in ( |
| | | ) as aa <!--where aa.id not in ( |
| | | select driverId from t_order_private_car where isDelete = 1 and driverPay = 1 and state in (7, 8, 9) |
| | | union all |
| | | select driverId from t_order_logistics where isDelete = 1 and driverPay = 1 and state != 10 |
| | | ) |
| | | )--> |
| | | </select> |
| | | |
| | | |
| | |
| | | select |
| | | a.id as id, |
| | | a.headImgUrl as avatar, |
| | | CONCAT(a.firstName, " ", a.lastName) as as `name`, |
| | | CONCAT(a.firstName, " ", a.lastName) as `name`, |
| | | a.phone as phone, |
| | | a.idCard as idcode, |
| | | b.carLicensePlate as licensePlate, |
| | |
| | | select |
| | | id as id, |
| | | phone as phone, |
| | | CONCAT(firstName, " ", lastName) as as name, |
| | | CONCAT(firstName, " ", lastName) as name, |
| | | headImgUrl as avatar, |
| | | DATE_FORMAT(insertTime,'%Y/%m/%d %H:%i') as insertTime |
| | | from |