|  |  | @ -65,6 +65,7 @@ async function pomsProject (ctx) { | 
			
		
	
		
			
				
					|  |  |  |                WHERE project_name LIKE '%${keyword}%' | 
			
		
	
		
			
				
					|  |  |  |             ` | 
			
		
	
		
			
				
					|  |  |  |          ).toPromise() || [] | 
			
		
	
		
			
				
					|  |  |  |           | 
			
		
	
		
			
				
					|  |  |  |          const anxinProjectRes = await clickHouse.anxinyun.query( | 
			
		
	
		
			
				
					|  |  |  |             `SELECT id,"name",
 | 
			
		
	
		
			
				
					|  |  |  |               project_state AS projectState  | 
			
		
	
	
		
			
				
					|  |  | @ -75,12 +76,12 @@ async function pomsProject (ctx) { | 
			
		
	
		
			
				
					|  |  |  |          let anxinProjectId = anxinProjectRes.map(v => v.id) | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |          findOption.where.$or = [ | 
			
		
	
		
			
				
					|  |  |  |             { name: { $like: `%${keyword}%` } },] | 
			
		
	
		
			
				
					|  |  |  |             { name: { $like: `%${keyword}%` } } ] | 
			
		
	
		
			
				
					|  |  |  |          if (projectId.length > 0) { | 
			
		
	
		
			
				
					|  |  |  |             findOption.where.$or.push({ pepProjectId: { $in: projectId } }) | 
			
		
	
		
			
				
					|  |  |  |          } | 
			
		
	
		
			
				
					|  |  |  |          if (anxinProjectId.length > 0) { | 
			
		
	
		
			
				
					|  |  |  |             findOption.where.$or.push({ anxinProjectId: { $contains: anxinProjectId } }) | 
			
		
	
		
			
				
					|  |  |  |             findOption.where.$or.push({ anxinProjectId: { $overlap: anxinProjectId } }) | 
			
		
	
		
			
				
					|  |  |  |          } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
	
		
			
				
					|  |  | 
 |