| | |
| | | a.sex as sex, |
| | | a.`name` as `name`, |
| | | a.phone as phone, |
| | | DATE_FORMAT(a.birthday, '%Y-%m-%d') as birthday, |
| | | a.email, |
| | | a.driverAddress, |
| | | a.qrCode, |
| | | a.language, |
| | | a.laveActivityMoney as balance, |
| | |
| | | DATE_FORMAT(a.getDriverLicenseDate, '%Y-%m-%d') as getDriverLicenseDate, |
| | | (select GROUP_CONCAT(type Separator ',') from t_driver_service where driverId = a.id) as `type`, |
| | | a.placeOfPractice as placeOfPractice, |
| | | a.driveCardImgUrl1 as driveCardImgUrl1, |
| | | a.driveCardImgUrl1 as driveCardImgUrl, |
| | | a.driveCardImgUrl2 as driveCardImgUrl2, |
| | | b.drivingLicensePhoto,b.carModelId,b.carBrandId,a.carId, |
| | | a.networkCarlssueImg as networkCarlssueImg, |
| | | a.placeOfEmployment as placeOfEmployment, |
| | | (select id from t_city where chineseName = a.placeOfPractice or englishName = a.placeOfPractice or frenchName = a.placeOfPractice)placeOfPracticeId, |
| | | (select `name` from t_company where 1 = 1 and if(a.companyId is null or a.companyId = 0, id = 1, if(a.franchiseeId is null or a.franchiseeId = 0, id = a.companyId, id = a.franchiseeId))) as company, |
| | | b.carLicensePlate as licensePlate, |
| | | b.carColor as carColor, |