Browse Source

#定时任务抽离

zhongwei
yang_shj 1 year ago
parent
commit
1e7e83770e
  1. 2
      hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/access/feign/IAccessPlanV4Client.java
  2. 2
      hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/access/feign/IAccessTaskV4Client.java
  3. 2
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/access/feign/AccessTaskV4Client.java

2
hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/access/feign/IAccessPlanV4Client.java

@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestBody;
*/ */
@FeignClient( @FeignClient(
value = OperationalConstants.APP_NAME, value = OperationalConstants.APP_NAME,
fallback = AccessTaskClientFallback.class fallback = AccessPlanV4ClientFallback.class
) )
public interface IAccessPlanV4Client { public interface IAccessPlanV4Client {

2
hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/access/feign/IAccessTaskV4Client.java

@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestBody;
*/ */
@FeignClient( @FeignClient(
value = OperationalConstants.APP_NAME, value = OperationalConstants.APP_NAME,
fallback = AccessTaskClientFallback.class fallback = AccessTaskV4ClientFallback.class
) )
public interface IAccessTaskV4Client { public interface IAccessTaskV4Client {

2
hzims-service/operational/src/main/java/com/hnac/hzims/operational/access/feign/AccessTaskV4Client.java

@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/feign/accessTaskV4") @RequestMapping("/feign/accessTaskV4")
@Slf4j @Slf4j
@RequiredArgsConstructor @RequiredArgsConstructor
public class AccessTaskV4Client implements IAccessPlanV4Client { public class AccessTaskV4Client implements IAccessTaskV4Client {
private final AccessTaskV4Service service; private final AccessTaskV4Service service;

Loading…
Cancel
Save