| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -330,7 +330,7 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    <select id="selectListLookBackAct" parameterType="com.epmet.dto.form.resi.ResiActBaseFormDTO" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            resultType="com.epmet.dto.result.resi.ResiLookBackActResultDTO"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        SELECT | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            i.ID id, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            i.ID actId, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            i.TITLE title, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            i.COVER_PIC coverPic, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            DATE_FORMAT(i.ACT_START_TIME,'%Y-%m-%d %H:%i') actStartTime, | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -666,4 +666,24 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            ai.DEL_FLAG = '0' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            AND ai.ID = #{actId} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    </select> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    <!--首页组件-活动回顾列表--> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    <select id="selectListLookBackActAssembly" parameterType="com.epmet.dto.form.resi.ResiLatestActFormDTO" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            resultType="com.epmet.dto.result.resi.ResiLookBackActResultDTO"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        SELECT | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            i.ID actId, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            i.TITLE title, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            i.COVER_PIC coverPic, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            DATE_FORMAT(i.ACT_START_TIME,'%Y-%m-%d %H:%i') actStartTime, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            DATE_FORMAT(i.ACT_END_TIME,'%Y-%m-%d %H:%i') actEndTime, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            i.ACT_ADDRESS actAddress, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            'finished' actCurrentState | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        FROM act_info i | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        WHERE i.DEL_FLAG = '0' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        AND i.SUMMARY_FLAG = 1 OR (SELECT r.ACT_ID FROM act_live_rec r WHERE r.DEL_FLAG = '0' AND r.ACT_ID = i.ID GROUP BY r.ACT_ID) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        AND i.CUSTOMER_ID = #{customerId} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        AND i.ACT_STATUS = 'finished' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ORDER BY i.CREATED_TIME DESC | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        LIMIT 0, #{num} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    </select> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					</mapper> | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
					 | 
				
				 | 
				
					
  |