|  | @@ -129,6 +129,22 @@
 | 
	
		
			
				|  |  |          where f_id = #{fId}
 | 
	
		
			
				|  |  |      </select>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    <select id="selectCustomerDriverList" parameterType="long" resultMap="TCorpsResult">
 | 
	
		
			
				|  |  | +        SELECT
 | 
	
		
			
				|  |  | +            c.f_id,
 | 
	
		
			
				|  |  | +            c.f_pid,
 | 
	
		
			
				|  |  | +            c.f_typeid,
 | 
	
		
			
				|  |  | +            c.f_no,
 | 
	
		
			
				|  |  | +            c.f_name
 | 
	
		
			
				|  |  | +        FROM
 | 
	
		
			
				|  |  | +            t_corps c
 | 
	
		
			
				|  |  | +            LEFT JOIN F_TMSORDERBILLSCARS car ON car.driver_tel = c.f_tel
 | 
	
		
			
				|  |  | +        WHERE
 | 
	
		
			
				|  |  | +            c.f_typeid != '[\"100\"]'
 | 
	
		
			
				|  |  | +            AND c.f_typeid != '[\"102\"]'
 | 
	
		
			
				|  |  | +            OR car.id = #{fId}
 | 
	
		
			
				|  |  | +    </select>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      <select id="selectFleetDriverMsgListMap" parameterType="TCorps" resultType="Map">
 | 
	
		
			
				|  |  |          SELECT
 | 
	
		
			
				|  |  |              c.f_id AS id,
 | 
	
	
		
			
				|  | @@ -161,7 +177,7 @@
 | 
	
		
			
				|  |  |              <if test="fName != null  and fName != ''"> and c.f_name like concat('%', #{fName}, '%')</if>
 | 
	
		
			
				|  |  |              <if test="fCname != null  and fCname != ''"> and c.f_cname like concat('%', #{fCname}, '%')</if>
 | 
	
		
			
				|  |  |              <if test="fEname != null  and fEname != ''"> and c.f_ename like concat('%', #{fEname}, '%')</if>
 | 
	
		
			
				|  |  | -            <if test="fTel != null  and fTel != ''"> and c.f_tel = #{fTel}</if>
 | 
	
		
			
				|  |  | +            <if test="fTel != null  and fTel != ''"> and c.f_tel like concat('%', #{fTel}, '%')</if>
 | 
	
		
			
				|  |  |              <if test="fFax != null  and fFax != ''"> and c.f_fax = #{fFax}</if>
 | 
	
		
			
				|  |  |              <if test="fEmail != null  and fEmail != ''"> and c.f_email = #{fEmail}</if>
 | 
	
		
			
				|  |  |              <if test="fManage != null  and fManage != ''"> and c.f_manage = #{fManage}</if>
 |