forked from rongchao/epmet-cloud-rizhao
				
			
				 3 changed files with 40 additions and 0 deletions
			
			
		@ -0,0 +1,23 @@ | 
				
			|||
package com.epmet.task; | 
				
			|||
 | 
				
			|||
import com.epmet.feign.DataStatisticalOpenFeignClient; | 
				
			|||
import org.springframework.beans.factory.annotation.Autowired; | 
				
			|||
import org.springframework.stereotype.Component; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Description | 
				
			|||
 * @Author wangxianzhang | 
				
			|||
 * @Date 2021/12/13 9:40 上午 | 
				
			|||
 * @Version 1.0 | 
				
			|||
 */ | 
				
			|||
@Component("statsDemandTask") | 
				
			|||
public class StatsDemandTask implements ITask { | 
				
			|||
 | 
				
			|||
    @Autowired | 
				
			|||
    private DataStatisticalOpenFeignClient dataStatisticalOpenFeignClient; | 
				
			|||
     | 
				
			|||
    @Override | 
				
			|||
    public void run(String params) { | 
				
			|||
        dataStatisticalOpenFeignClient.statsVolunteerDemandServicesDaily(null); | 
				
			|||
    } | 
				
			|||
} | 
				
			|||
					Loading…
					
					
				
		Reference in new issue