|  |  | @ -26,8 +26,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND isDefault = #{isDefault} |  |  |  |                 AND isDefault = #{isDefault} | 
			
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="key != null"> |  |  |  |             <if test="key != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 and code like concat('%', #{key}, '%') |  |  |  |                 and (code like concat('%', #{key}, '%') | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                         or `name` like concat('%', #{key}, '%') |  |  |  |                 or `name` like concat('%', #{key}, '%')) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="lastUpdateTime != null and lastUpdateTime != ''"> |  |  |  |             <if test="lastUpdateTime != null and lastUpdateTime != ''"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <![CDATA[ |  |  |  |                 <![CDATA[ | 
			
		
	
	
		
		
			
				
					|  |  | @ -77,13 +77,21 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |     </select> |  |  |  |     </select> | 
			
		
	
		
		
			
				
					
					|  |  |  |     <insert id="insertThrInvWarehouse" keyProperty="id" |  |  |  |     <insert id="insertThrInvWarehouse" keyProperty="id" | 
			
		
	
		
		
			
				
					
					|  |  |  |             parameterType="com.glxp.api.admin.entity.thrsys.ThrInvWarehouseEntity"> |  |  |  |             parameterType="com.glxp.api.admin.entity.thrsys.ThrInvWarehouseEntity"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         replace INTO thr_inv_warehouse |  |  |  |         replace | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         INTO thr_inv_warehouse | 
			
		
	
		
		
			
				
					
					|  |  |  |         (pid, code, name, advanceType, isDefault, |  |  |  |         (pid, code, name, advanceType, isDefault, | 
			
		
	
		
		
			
				
					
					|  |  |  |          status, updateTime, remark, thirdSysFk) |  |  |  |          status, updateTime, remark, thirdSysFk) | 
			
		
	
		
		
			
				
					
					|  |  |  |         values (#{pid}, #{code}, |  |  |  |         values ( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 #{name}, #{advanceType}, #{isDefault}, |  |  |  |         #{pid}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 #{status}, #{updateTime}, |  |  |  |         #{code}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 #{remark}, #{thirdSysFk}) |  |  |  |         #{name}, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         #{advanceType}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         #{isDefault}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         #{status}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         #{updateTime}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         #{remark}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         #{thirdSysFk} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         ) | 
			
		
	
		
		
			
				
					
					|  |  |  |     </insert> |  |  |  |     </insert> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     <insert id="insertThrInvWarehouses" parameterType="java.util.List"> |  |  |  |     <insert id="insertThrInvWarehouses" parameterType="java.util.List"> | 
			
		
	
	
		
		
			
				
					|  |  | 
 |