| 
					
				 | 
			
			
				@@ -8,6 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result property="id"    column="id"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result property="fleetCompanyId"    column="fleet_company_id"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result property="carNum"    column="car_num"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="driverName"    column="driver_name"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result property="hangNum"    column="hang_num"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result property="fuelType"    column="fuel_type"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result property="carType"    column="car_type"    /> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -48,7 +49,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </resultMap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <sql id="selectFleetCarManageVo"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        select id, fleet_company_id, car_num, hang_num, fuel_type, car_type, car_name, car_brand, manufacture_unit, office_of_certificate, pull_car_type, pull_car_shelf_num, mount_car_type, mount_car_num, engine, car_load_persion, buy_car_date, regiest_date, abandon_date, outer_size, sum_weight, vouch_weight, equip_weight, driving_license_src, driving_pendant_src, operation_license_src, technology_src, driving_load_src, second_lv_maintain_src, taffic_constranint_insurance_src, business_insurance_src, accpet_carrage_insurance_src, creat_time, modification_time, bill_status, del_flag, create_by, update_by, update_time, remarks from fleet_car_manage 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        select id, fleet_company_id, car_num, driver_name ,hang_num, fuel_type, car_type, car_name, car_brand, manufacture_unit, office_of_certificate, pull_car_type, pull_car_shelf_num, mount_car_type, mount_car_num, engine, car_load_persion, buy_car_date, regiest_date, abandon_date, outer_size, sum_weight, vouch_weight, equip_weight, driving_license_src, driving_pendant_src, operation_license_src, technology_src, driving_load_src, second_lv_maintain_src, taffic_constranint_insurance_src, business_insurance_src, accpet_carrage_insurance_src, creat_time, modification_time, bill_status, del_flag, create_by, update_by, update_time, remarks from fleet_car_manage 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <select id="selectFleetCarManageList" parameterType="FleetCarManage" resultMap="FleetCarManageResult"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -56,6 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <where>   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fleetCompanyId != null "> and fleet_company_id = #{fleetCompanyId}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="carNum != null  and carNum != ''"> and car_num = #{carNum}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="driverName != null  and driverName != ''"> and driver_name = #{driverName}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="hangNum != null  and hangNum != ''"> and hang_num = #{hangNum}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fuelType != null  and fuelType != ''"> and fuel_type = #{fuelType}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="carType != null  and carType != ''"> and car_type = #{carType}</if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -102,6 +104,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <trim prefix="(" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fleetCompanyId != null">fleet_company_id,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="carNum != null">car_num,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="driverName != null">driver_name,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="hangNum != null">hang_num,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fuelType != null">fuel_type,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="carType != null">car_type,</if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -143,6 +146,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <trim prefix="values (" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fleetCompanyId != null">#{fleetCompanyId},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="carNum != null">#{carNum},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="driverName != null">#{driverName},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="hangNum != null">#{hangNum},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fuelType != null">#{fuelType},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="carType != null">#{carType},</if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -188,6 +192,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <trim prefix="SET" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fleetCompanyId != null">fleet_company_id = #{fleetCompanyId},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="carNum != null">car_num = #{carNum},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="driverName != null">driver_name = #{driverName},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="hangNum != null">hang_num = #{hangNum},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fuelType != null">fuel_type = #{fuelType},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="carType != null">car_type = #{carType},</if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -244,6 +249,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             car.id AS Id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             com.company_name AS fleetCompanyName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             car.car_num AS carNum, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            car.driver_name AS driverName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             car.hang_num AS hangNum, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             car.fuel_type AS fuelType, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             car.car_type AS carType, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -290,6 +296,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fleetCompanyId != null "> and fleet_company_id = #{fleetCompanyId}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="carNum != null  and carNum != ''"> and car_num = #{carNum}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="driverName != null  and driverName != ''"> and driver_name = #{driverName}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="hangNum != null  and hangNum != ''"> and hang_num = #{hangNum}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fuelType != null  and fuelType != ''"> and fuel_type = #{fuelType}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="carType != null  and carType != ''"> and car_type = #{carType}</if> 
			 |