20250408 更新
1.解开推送监听器bean注解
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ import javax.annotation.Resource;
|
|||||||
* @description: 推送数据到LabsCare平台接口管理
|
* @description: 推送数据到LabsCare平台接口管理
|
||||||
* @date 2025/4/3 10:48
|
* @date 2025/4/3 10:48
|
||||||
*/
|
*/
|
||||||
//@RestController
|
@RestController
|
||||||
@RequestMapping("/pushDataToLabsCare")
|
@RequestMapping("/pushDataToLabsCare")
|
||||||
@Api(tags = "19-推送数据到LabsCare平台接口管理", description = "推送数据到LabsCare平台接口管理")
|
@Api(tags = "19-推送数据到LabsCare平台接口管理", description = "推送数据到LabsCare平台接口管理")
|
||||||
public class PushDataToLabsCareController {
|
public class PushDataToLabsCareController {
|
||||||
|
|||||||
+1
-1
@@ -15,7 +15,7 @@ import java.util.concurrent.CompletableFuture;
|
|||||||
* 监听有关推送数据到LabsCare 平台的事件, 采用异步
|
* 监听有关推送数据到LabsCare 平台的事件, 采用异步
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
//@Component
|
@Component
|
||||||
public class PushDataToLabsCareEventListener implements ApplicationListener<PushDataToLabsCareEvent> {
|
public class PushDataToLabsCareEventListener implements ApplicationListener<PushDataToLabsCareEvent> {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
|
|||||||
+2
-1
@@ -28,6 +28,7 @@ import digital.laboratory.platform.sys.entity.SysUser;
|
|||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.http.*;
|
import org.springframework.http.*;
|
||||||
import org.springframework.scheduling.annotation.Scheduled;
|
import org.springframework.scheduling.annotation.Scheduled;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.web.client.RestClientException;
|
import org.springframework.web.client.RestClientException;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
@@ -43,7 +44,7 @@ import java.util.stream.Collectors;
|
|||||||
* @date 2025/3/31 9:31
|
* @date 2025/3/31 9:31
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
//@Service
|
@Service
|
||||||
public class PushDataToLabsCareServiceImpl implements PushDataToLabsCareService {
|
public class PushDataToLabsCareServiceImpl implements PushDataToLabsCareService {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
|
|||||||
Reference in New Issue
Block a user