|  |  | @ -167,6 +167,10 @@ async function getFileList(ctx, next) { | 
			
		
	
		
			
				
					|  |  |  |             queryOptions.roadId = roadId | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |         rslt.road = await models.FileRoad.findOne({ | 
			
		
	
		
			
				
					|  |  |  |             where: { rId: roadId } | 
			
		
	
		
			
				
					|  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |         rslt.type = await models.FileType.findOne({ | 
			
		
	
		
			
				
					|  |  |  |             where: { fId } | 
			
		
	
		
			
				
					|  |  |  |         }) | 
			
		
	
	
		
			
				
					|  |  | @ -179,6 +183,9 @@ async function getFileList(ctx, next) { | 
			
		
	
		
			
				
					|  |  |  |                 ['id', 'DESC'] | 
			
		
	
		
			
				
					|  |  |  |             ] | 
			
		
	
		
			
				
					|  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |         rslt.counter = await models.Files.count({ | 
			
		
	
		
			
				
					|  |  |  |             where: queryOptions | 
			
		
	
		
			
				
					|  |  |  |         }) | 
			
		
	
	
		
			
				
					|  |  | 
 |