@@ -35,13 +35,13 @@ public class DipperAstPosAsyncTaskServiceImpl implements IDipperAstPosAsyncTaskS | |||||
@Autowired | @Autowired | ||||
private IpProvinceService ipProvinceService; | private IpProvinceService ipProvinceService; | ||||
private static IDipperAstPosAsyncTaskService dipperAstPosAsyncTaskService; | |||||
private static DipperAstPosAsyncTaskServiceImpl dipperAstPosAsyncTaskService; | |||||
/** | /** | ||||
* spring会自动从ioc容器当中根据IDipperAstPosAsyncTaskService类型找到dipperAstPosAsyncTaskService,当做参数传进来 | * spring会自动从ioc容器当中根据IDipperAstPosAsyncTaskService类型找到dipperAstPosAsyncTaskService,当做参数传进来 | ||||
* | * | ||||
*/ | */ | ||||
@Autowired | @Autowired | ||||
public void setDipperAstPosAsyncTaskService(IDipperAstPosAsyncTaskService dipperAstPosAsyncTaskService) { | |||||
public void setDipperAstPosAsyncTaskService(DipperAstPosAsyncTaskServiceImpl dipperAstPosAsyncTaskService) { | |||||
this.dipperAstPosAsyncTaskService = dipperAstPosAsyncTaskService; | this.dipperAstPosAsyncTaskService = dipperAstPosAsyncTaskService; | ||||
} | } | ||||
@@ -23,13 +23,13 @@ import java.time.LocalDateTime; | |||||
public class DipperAstTimeAsyncTaskServiceImpl implements IDipperAstTimeAsyncTaskService { | public class DipperAstTimeAsyncTaskServiceImpl implements IDipperAstTimeAsyncTaskService { | ||||
private static IDipperAstTimeAsyncTaskService dipperAstTimeAsyncTaskService; | |||||
private static DipperAstTimeAsyncTaskServiceImpl dipperAstTimeAsyncTaskService; | |||||
/** | /** | ||||
* spring会自动从ioc容器当中根据IDipperAstPosAsyncTaskService类型找到dipperAstTimeAsyncTaskService,当做参数传进来 | * spring会自动从ioc容器当中根据IDipperAstPosAsyncTaskService类型找到dipperAstTimeAsyncTaskService,当做参数传进来 | ||||
* | * | ||||
*/ | */ | ||||
@Autowired | @Autowired | ||||
public void setDipperAstTimeAsyncTaskService(IDipperAstTimeAsyncTaskService dipperAstTimeAsyncTaskService) { | |||||
public void setDipperAstTimeAsyncTaskService(DipperAstTimeAsyncTaskServiceImpl dipperAstTimeAsyncTaskService) { | |||||
this.dipperAstTimeAsyncTaskService = dipperAstTimeAsyncTaskService; | this.dipperAstTimeAsyncTaskService = dipperAstTimeAsyncTaskService; | ||||
} | } | ||||
@@ -30,13 +30,13 @@ public class DipperDataAsyncTaskServiceImpl implements IDipperDataAsyncTaskServi | |||||
private SchedulingExecutorConfig schedulingExecutorConfig; | private SchedulingExecutorConfig schedulingExecutorConfig; | ||||
private static IDipperDataAsyncTaskService dipperDataAsyncTaskService; | |||||
private static DipperDataAsyncTaskServiceImpl dipperDataAsyncTaskService; | |||||
/** | /** | ||||
* spring会自动从ioc容器当中根据IDipperDataAsyncTaskService类型找到dipperDataAsyncTaskService,当做参数传进来 | * spring会自动从ioc容器当中根据IDipperDataAsyncTaskService类型找到dipperDataAsyncTaskService,当做参数传进来 | ||||
* | * | ||||
*/ | */ | ||||
@Autowired | @Autowired | ||||
public void setDipperDataAsyncTaskService(IDipperDataAsyncTaskService dipperDataAsyncTaskService) { | |||||
public void setDipperDataAsyncTaskService(DipperDataAsyncTaskServiceImpl dipperDataAsyncTaskService) { | |||||
this.dipperDataAsyncTaskService = dipperDataAsyncTaskService; | this.dipperDataAsyncTaskService = dipperDataAsyncTaskService; | ||||
} | } | ||||