| 
					
				 | 
			
			
				@@ -139,5 +139,47 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             #{id} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <select id="selectFleetDriverMsgListMap" parameterType="FleetDriverMsg" resultType="Map"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        SELECT 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.id AS id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            com.company_name AS companyName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.`name` AS `name`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.sex AS sex, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.birthday AS birthday, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.allow_driver_car AS allowDriverCar, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.first_certificate_date AS firstCertificateDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.idcar_num AS idcarNum, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.tel AS tel, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.address AS address, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.resume_pic AS resumePic, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.driving_pic AS drivingPic, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.creat_time AS creatTime, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.modification_time AS modificationTime, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.bill_status AS billStatus, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.del_flag, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.create_by, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.update_by, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.update_time, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            dri.remarks AS remarks 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        FROM 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            fleet_driver_msg dri 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        LEFT JOIN fleet_company_msg AS com ON dri.fleet_company_id = com.id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="fleetCompanyId != null "> and dri.fleet_company_id = #{fleetCompanyId}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="name != null  and name != ''"> and dri.name like concat('%', #{name}, '%')</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="sex != null "> and dri.sex = #{sex}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="birthday != null "> and dri.birthday = #{birthday}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="allowDriverCar != null  and allowDriverCar != ''"> and dri.allow_driver_car = #{allowDriverCar}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="firstCertificateDate != null "> and dri.first_certificate_date = #{firstCertificateDate}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="idcarNum != null  and idcarNum != ''"> and dri.idcar_num = #{idcarNum}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="tel != null  and tel != ''"> and dri.tel = #{tel}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="address != null  and address != ''"> and dri.address = #{address}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="resumePic != null  and resumePic != ''"> and dri.resume_pic = #{resumePic}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="drivingPic != null  and drivingPic != ''"> and dri.driving_pic = #{drivingPic}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="creatTime != null "> and dri.creat_time = #{creatTime}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="modificationTime != null "> and dri.modification_time = #{modificationTime}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="billStatus != null "> and dri.bill_status = #{billStatus}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="remarks != null  and remarks != ''"> and dri.remarks = #{remarks}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </mapper> 
			 |