|  |  | @ -12,10 +12,12 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         up.sourceAction, |  |  |  |         up.sourceAction, | 
			
		
	
		
		
			
				
					
					|  |  |  |         up.targetAction, |  |  |  |         up.targetAction, | 
			
		
	
		
		
			
				
					
					|  |  |  |         up.invCode, |  |  |  |         up.invCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |                up.invSubCode |  |  |  |         up.invSubCode, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         bl.name socurceName | 
			
		
	
		
		
			
				
					
					|  |  |  |         from io_unit_maintain_platform up |  |  |  |         from io_unit_maintain_platform up | 
			
		
	
		
		
			
				
					
					|  |  |  |         left join basic_corp u on up.unitId = u.erpId |  |  |  |         left join basic_corp u on up.unitId = u.erpId | 
			
		
	
		
		
			
				
					
					|  |  |  |         left join auth_platform ap on up.platformId = ap.id |  |  |  |         left join auth_platform ap on up.platformId = ap.id | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         left join basic_bustype_local bl on up.sourceAction = bl.action | 
			
		
	
		
		
			
				
					
					|  |  |  |         where up.customerId = #{customerId} |  |  |  |         where up.customerId = #{customerId} | 
			
		
	
		
		
			
				
					
					|  |  |  |         <if test="key != null and key != ''"> |  |  |  |         <if test="key != null and key != ''"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             AND (u.erpId like concat('%', #{key}, '%') |  |  |  |             AND (u.erpId like concat('%', #{key}, '%') | 
			
		
	
	
		
		
			
				
					|  |  | @ -23,6 +25,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             or u.spell like concat('%', #{key}, '%') |  |  |  |             or u.spell like concat('%', #{key}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |             ) |  |  |  |             ) | 
			
		
	
		
		
			
				
					
					|  |  |  |         </if> |  |  |  |         </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         order by up.unitId | 
			
		
	
		
		
			
				
					
					|  |  |  |     </select> |  |  |  |     </select> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     <select id="selectByCustomerId" resultType="com.glxp.api.admin.entity.inout.UnitMaintainPlatformEntity"> |  |  |  |     <select id="selectByCustomerId" resultType="com.glxp.api.admin.entity.inout.UnitMaintainPlatformEntity"> | 
			
		
	
	
		
		
			
				
					|  |  | @ -128,7 +132,9 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |     </select> |  |  |  |     </select> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     <delete id="deleteById"> |  |  |  |     <delete id="deleteById"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         delete from io_unit_maintain_platform where id = #{id} |  |  |  |         delete | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         from io_unit_maintain_platform | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         where id = #{id} | 
			
		
	
		
		
			
				
					
					|  |  |  |     </delete> |  |  |  |     </delete> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     <select id="selectCount" resultType="java.lang.Long"> |  |  |  |     <select id="selectCount" resultType="java.lang.Long"> | 
			
		
	
	
		
		
			
				
					|  |  | 
 |