| 
					
				 | 
			
			
				@@ -30,8 +30,17 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                priority, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                release_date, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                release_flag 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        from ry.bj_locale_security_check 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        from bj_locale_security_check 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         where del_flag = '0' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <if test="bo.shipId != null and bo.shipId != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            and ship_id like concat('%',#{bo.shipId},'%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <if test="bo.shipNameCn != null and bo.shipNameCn != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            and ship_came_cn like concat('%',#{bo.shipNameCn},'%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <if test="bo.startCheckDate != null and bo.endCheckDate != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            and check_date between #{bo.startCheckDate} and #{bo.endCheckDate} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         order by locale_security_check_id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  RANDOM() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </select> 
			 |