|  | @ -24,6 +24,13 @@ public interface ArchivesSummaryRepository extends JpaRepository<ArchivesSummary | 
		
	
		
			
				|  |  |             "retention,security_class,tag_no,case_no,create_time,update_time from archives_summary order by create_time asc,archives_id asc ") |  |  |             "retention,security_class,tag_no,case_no,create_time,update_time from archives_summary order by create_time asc,archives_id asc ") | 
		
	
		
			
				|  |  |     Page<Map<String,Object>> getArchivesRelease(Pageable page); |  |  |     Page<Map<String,Object>> getArchivesRelease(Pageable page); | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
		
			
				|  |  |  |  |  |     @Query(nativeQuery = true, | 
		
	
		
			
				|  |  |  |  |  |             value = "select * " + | 
		
	
		
			
				|  |  |  |  |  |                     "from archives_summary " + | 
		
	
		
			
				|  |  |  |  |  |                     "where category_type in (3,5) and if(length(?2)=0,1=1,if(?1 = 'maintitle',maintitle regexp ?2,if(?1 = 'archive_no',archive_no regexp ?2,if(?1 = 'archive_year',archive_year regexp ?2,if(?1 = 'security_class',security_class regexp ?2,if(?1 = 'case_name',case_name regexp ?2,if(?1 = 'retention',retention regexp ?2,if(?1 = 'department',department regexp ?2,1=1)))))))) " + | 
		
	
		
			
				|  |  |  |  |  |                     "order by create_time asc,archives_id asc") | 
		
	
		
			
				|  |  |  |  |  |     Page<Map<String,Object>> queryVagueArchives(String criteria, String query,Pageable page); | 
		
	
		
			
				|  |  |  |  |  | 
 | 
		
	
		
			
				|  |  |     @Modifying |  |  |     @Modifying | 
		
	
		
			
				|  |  |     @Transactional(rollbackFor = Exception.class) |  |  |     @Transactional(rollbackFor = Exception.class) | 
		
	
		
			
				|  |  |     @Query(nativeQuery = true, |  |  |     @Query(nativeQuery = true, | 
		
	
	
		
			
				|  | 
 |