|  |  | @ -234,13 +234,15 @@ | 
			
		
	
		
			
				
					|  |  |  |             p.id as projectId, | 
			
		
	
		
			
				
					|  |  |  |             rp.GRID_ID gridId, | 
			
		
	
		
			
				
					|  |  |  |             p.TITLE as projectTitle, | 
			
		
	
		
			
				
					|  |  |  |             rp.GRID_ID releaseGridId | 
			
		
	
		
			
				
					|  |  |  |             rp.GRID_ID releaseGridId, | 
			
		
	
		
			
				
					|  |  |  |             rp2.SOURCE_ID  as issueId | 
			
		
	
		
			
				
					|  |  |  |         from project_related_personnel rp | 
			
		
	
		
			
				
					|  |  |  |                  inner join project p on (rp.PROJECT_ID = p.ID and p.DEL_FLAG = 0) | 
			
		
	
		
			
				
					|  |  |  |         where USER_ID = #{userId} | 
			
		
	
		
			
				
					|  |  |  |                  left join project_related_personnel rp2 on (rp.PROJECT_ID = rp2.PROJECT_ID and rp2.SOURCE_TYPE = 'issue') | 
			
		
	
		
			
				
					|  |  |  |         where rp.USER_ID = #{userId} | 
			
		
	
		
			
				
					|  |  |  |             and p.CUSTOMER_ID=#{customerId} | 
			
		
	
		
			
				
					|  |  |  |             and p.DEL_FLAG=0 | 
			
		
	
		
			
				
					|  |  |  |             and SOURCE_TYPE = 'topic' | 
			
		
	
		
			
				
					|  |  |  |             and rp.SOURCE_TYPE = 'topic' | 
			
		
	
		
			
				
					|  |  |  |         order by p.CREATED_TIME desc | 
			
		
	
		
			
				
					|  |  |  |     </select> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | 
 |