| | |
| | | <result column="account" property="account" /> |
| | | <result column="jobNumber" property="jobNumber" /> |
| | | <result column="phone" property="phone" /> |
| | | <result column="phoneOperator" property="phoneOperator"/> |
| | | <result column="password" property="password" /> |
| | | <result column="withdrawPassword" property="withdrawPassword"/> |
| | | <result column="name" property="name" /> |
| | | <result column="lastName" property="lastName" /> |
| | | <result column="firstName" property="firstName"/> |
| | | <result column="sex" property="sex" /> |
| | | <result column="idCard" property="idCard" /> |
| | | <result column="companyId" property="companyId" /> |
| | |
| | | id as id, |
| | | account as account, |
| | | jobNumber as jobNumber, |
| | | phoneOperator as phoneOperator, |
| | | phone as phone, |
| | | password as password, |
| | | name as name, |
| | | firstName as firstName, |
| | | lastName as lastName, |
| | | sex as sex, |
| | | idCard as idCard, |
| | | companyId as companyId, |
| | |
| | | id as id, |
| | | account as account, |
| | | jobNumber as jobNumber, |
| | | phoneOperator as phoneOperator, |
| | | phone as phone, |
| | | password as password, |
| | | name as name, |
| | | firstName as firstName, |
| | | lastName as lastName, |
| | | sex as sex, |
| | | idCard as idCard, |
| | | companyId as companyId, |
| | |
| | | id as id, |
| | | account as account, |
| | | jobNumber as jobNumber, |
| | | phoneOperator as phoneOperator, |
| | | phone as phone, |
| | | password as password, |
| | | name as name, |
| | | firstName as firstName, |
| | | lastName as lastName, |
| | | sex as sex, |
| | | idCard as idCard, |
| | | companyId as companyId, |
| | |
| | | a.id as id, |
| | | a.headImgUrl as avatar, |
| | | a.sex as sex, |
| | | a.`name` as `name`, |
| | | a.lastName as lastName, |
| | | a.firstName as firstName, |
| | | a.phoneOperator as phoneOperator, |
| | | 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, |
| | |
| | | id as id, |
| | | account as account, |
| | | jobNumber as jobNumber, |
| | | phoneOperator as phoneOperator, |
| | | phone as phone, |
| | | password as password, |
| | | name as name, |
| | | firstName as firstName, |
| | | lastName as lastName, |
| | | sex as sex, |
| | | idCard as idCard, |
| | | companyId as companyId, |
| | |
| | | a.id as id, |
| | | a.account as account, |
| | | a.jobNumber as jobNumber, |
| | | a.phoneOperator as phoneOperator, |
| | | a.phone as phone, |
| | | a.password as password, |
| | | a.name as name, |
| | | a.firstName as firstName, |
| | | a.lastName as lastName, |
| | | a.sex as sex, |
| | | a.idCard as idCard, |
| | | a.companyId as companyId, |
| | |
| | | id as id, |
| | | account as account, |
| | | jobNumber as jobNumber, |
| | | phoneOperator as phoneOperator, |
| | | phone as phone, |
| | | password as password, |
| | | name as name, |
| | | firstName as firstName, |
| | | lastName as lastName, |
| | | sex as sex, |
| | | idCard as idCard, |
| | | companyId as companyId, |
| | |
| | | id as id, |
| | | account as account, |
| | | jobNumber as jobNumber, |
| | | phoneOperator as phoneOperator, |
| | | phone as phone, |
| | | password as password, |
| | | name as name, |
| | | firstName as firstName, |
| | | lastName as lastName, |
| | | sex as sex, |
| | | idCard as idCard, |
| | | companyId as companyId, |
| | |
| | | id as id, |
| | | account as account, |
| | | jobNumber as jobNumber, |
| | | phoneOperator as phoneOperator, |
| | | phone as phone, |
| | | password as password, |
| | | name as name, |
| | | firstName as firstName, |
| | | lastName as lastName, |
| | | sex as sex, |
| | | idCard as idCard, |
| | | companyId as companyId, |
| | |
| | | <select id="queryMyInviteDriverList" resultType="map"> |
| | | select |
| | | id as id, |
| | | phoneOperator as phoneOperator, |
| | | phone as phone, |
| | | name as name, |
| | | CONCAT(firstName, " ", lastName) as name, |
| | | headImgUrl as avatar, |
| | | DATE_FORMAT(insertTime,'%Y/%m/%d %H:%i') as insertTime |
| | | DATE_FORMAT(insertTime,'%Y-%m-%d %H:%i') as insertTime |
| | | from |
| | | t_driver |
| | | where uid=#{uid} |