puzhibing
2023-05-18 53562814add61acfdc02d6b25dae6324f6fd5f92
DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/DriverMapper.xml
@@ -344,7 +344,9 @@
        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,
@@ -362,11 +364,12 @@
        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,