4 changed files with 38 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||||
|
package com.elink.esua.epdc.task.screen; |
||||
|
|
||||
|
/** |
||||
|
* @Author:lc |
||||
|
* @Date:2021/11/18 17:36 |
||||
|
*/ |
||||
|
public interface EpdcScreenJobTask { |
||||
|
|
||||
|
void run(String param); |
||||
|
} |
@ -0,0 +1,21 @@ |
|||||
|
package com.elink.esua.epdc.task.screen; |
||||
|
|
||||
|
import com.elink.esua.epdc.feign.AnalysisFeignClient; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* @Author:lc |
||||
|
* @Date:2021/11/18 17:36 |
||||
|
*/ |
||||
|
@Component("YushanScreen") |
||||
|
public class EpdcScreenJobTaskImpl implements EpdcScreenJobTask{ |
||||
|
@Autowired |
||||
|
private AnalysisFeignClient analysisFeignClient; |
||||
|
|
||||
|
@Override |
||||
|
public void run(String param) { |
||||
|
analysisFeignClient.yqfkYmjzqkJob(); |
||||
|
} |
||||
|
|
||||
|
} |
Loading…
Reference in new issue