|  |  |  | @ -41,12 +41,14 @@ | 
			
		
	
		
			
				
					|  |  |  |  |            bp.ybbm, | 
			
		
	
		
			
				
					|  |  |  |  |            bp.zxxsdycpbs, | 
			
		
	
		
			
				
					|  |  |  |  |            bc.name  supName, | 
			
		
	
		
			
				
					|  |  |  |  |            sw.workPlaceName | 
			
		
	
		
			
				
					|  |  |  |  |            sw.workPlaceName, | 
			
		
	
		
			
				
					|  |  |  |  |            swd.busName | 
			
		
	
		
			
				
					|  |  |  |  |     from io_split_fifo_inv isfi | 
			
		
	
		
			
				
					|  |  |  |  |            LEFT JOIN basic_udirel bu ON bu.id = isfi.relId | 
			
		
	
		
			
				
					|  |  |  |  |            LEFT JOIN basic_products bp ON bu.uuid = bp.uuid | 
			
		
	
		
			
				
					|  |  |  |  |            left join basic_corp bc on bc.erpId = isfi.supId | 
			
		
	
		
			
				
					|  |  |  |  |            left join sys_workplace sw on sw.workplaceId = isfi.workPlaceCode | 
			
		
	
		
			
				
					|  |  |  |  |            left join sys_workplace_document swd on swd.documentTypeCode = isfi.busType | 
			
		
	
		
			
				
					|  |  |  |  |       <where> | 
			
		
	
		
			
				
					|  |  |  |  |           <if test="relId != null"> | 
			
		
	
		
			
				
					|  |  |  |  |               AND isfi.relId = #{relId} | 
			
		
	
	
		
			
				
					|  |  |  | @ -72,6 +74,9 @@ | 
			
		
	
		
			
				
					|  |  |  |  |           <if test="workPlaceCode != null"> | 
			
		
	
		
			
				
					|  |  |  |  |               AND isfi.workPlaceCode = #{workPlaceCode} | 
			
		
	
		
			
				
					|  |  |  |  |           </if> | 
			
		
	
		
			
				
					|  |  |  |  |           <if test="busType != null and busType != ''"> | 
			
		
	
		
			
				
					|  |  |  |  |               ANd isfi.busType = #{busType} | 
			
		
	
		
			
				
					|  |  |  |  |           </if> | 
			
		
	
		
			
				
					|  |  |  |  |       </where> | 
			
		
	
		
			
				
					|  |  |  |  |   </select> | 
			
		
	
		
			
				
					|  |  |  |  | </mapper> | 
			
		
	
	
		
			
				
					|  |  |  | 
 |