|  |  | @ -5,7 +5,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             resultType="com.glxp.api.entity.thrsys.ThrDeptEntity"> |  |  |  |             resultType="com.glxp.api.entity.thrsys.ThrDeptEntity"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         SELECT * |  |  |  |         SELECT * | 
			
		
	
		
		
			
				
					
					|  |  |  |         FROM thr_dept thrInv |  |  |  |         FROM thr_dept thrInv | 
			
		
	
		
		
			
				
					
					|  |  |  |         left join basic_third_sys thrSys on thrInv.thirdSysFk = thrSys.thirdId |  |  |  |         left join thr_system thrSys on thrInv.thirdSysFk = thrSys.thirdId | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         <where> |  |  |  |         <where> | 
			
		
	
		
		
			
				
					
					|  |  |  |             thrSys.enabled = true |  |  |  |             thrSys.enabled = true | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="id != '' and id != null"> |  |  |  |             <if test="id != '' and id != null"> | 
			
		
	
	
		
		
			
				
					|  |  | 
 |