|  | @ -386,7 +386,7 @@ | 
			
		
	
		
		
			
				
					|  |  |             ic_event_reply rer |  |  |             ic_event_reply rer | 
			
		
	
		
		
			
				
					|  |  |         WHERE |  |  |         WHERE | 
			
		
	
		
		
			
				
					|  |  |             rer.del_flag = '0' |  |  |             rer.del_flag = '0' | 
			
		
	
		
		
			
				
					
					|  |  |         AND rer.resi_event_id = #{icEventId} |  |  |         AND rer.ic_event_id = #{icEventId} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |         ORDER BY |  |  |         ORDER BY | 
			
		
	
		
		
			
				
					|  |  |             rer.created_time DESC |  |  |             rer.created_time DESC | 
			
		
	
		
		
			
				
					|  |  |     </select> |  |  |     </select> | 
			
		
	
	
		
		
			
				
					|  | @ -396,13 +396,15 @@ | 
			
		
	
		
		
			
				
					|  |  |             re.id AS resiEventId, |  |  |             re.id AS resiEventId, | 
			
		
	
		
		
			
				
					|  |  |             re.event_content AS eventContent, |  |  |             re.event_content AS eventContent, | 
			
		
	
		
		
			
				
					|  |  |             if(re.operation_type='1', '1', '0') AS shiftProject, |  |  |             if(re.operation_type='1', '1', '0') AS shiftProject, | 
			
		
	
		
		
			
				
					
					|  |  |             if(re.operation_type='1', re.OPERATION_ID, '') AS projectId, |  |  |             if(re.operation_type='1', re.operation_id, '') AS projectId, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |             re.created_time AS reportTime |  |  |             re.created_time AS reportTime | 
			
		
	
		
		
			
				
					|  |  |         FROM |  |  |         FROM | 
			
		
	
		
		
			
				
					|  |  |             ic_event re |  |  |             ic_event re | 
			
		
	
		
		
			
				
					|  |  |         WHERE |  |  |         WHERE | 
			
		
	
		
		
			
				
					|  |  |             re.del_flag = '0' |  |  |             re.del_flag = '0' | 
			
		
	
		
		
			
				
					
					|  |  |         AND re.report_user_id = '' |  |  |         <foreach item="epmetUserId" collection="epmetUserIdList" open="AND (" separator="or" close=")" index=""> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |             re.report_user_id = #{epmetUserId} | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         </foreach> | 
			
		
	
		
		
			
				
					|  |  |         ORDER BY re.created_time desc |  |  |         ORDER BY re.created_time desc | 
			
		
	
		
		
			
				
					|  |  |     </select> |  |  |     </select> | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  | @ -452,7 +454,7 @@ | 
			
		
	
		
		
			
				
					|  |  |             ea.ATTACHMENT_TYPE AS type, |  |  |             ea.ATTACHMENT_TYPE AS type, | 
			
		
	
		
		
			
				
					|  |  |             ea.duration AS duration, |  |  |             ea.duration AS duration, | 
			
		
	
		
		
			
				
					|  |  |             re.GRID_ID AS gridId, |  |  |             re.GRID_ID AS gridId, | 
			
		
	
		
		
			
				
					
					|  |  |             re.CREATED_BY AS eventUserId, |  |  |             re.REPORT_USER_ID AS eventUserId, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |             re.AGENCY_ID AS orgId |  |  |             re.AGENCY_ID AS orgId | 
			
		
	
		
		
			
				
					|  |  |         FROM ic_event re |  |  |         FROM ic_event re | 
			
		
	
		
		
			
				
					|  |  |         LEFT JOIN ic_event_attachment ea ON (ea.IC_EVENT_ID = re.ID AND ea.DEL_FLAG = '0') |  |  |         LEFT JOIN ic_event_attachment ea ON (ea.IC_EVENT_ID = re.ID AND ea.DEL_FLAG = '0') | 
			
		
	
	
		
		
			
				
					|  | 
 |