From 40f1fd8450ea149f980a1894d0e6f23290c09ad6 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期一, 21 九月 2026 17:52:05 +0800
Subject: [PATCH] 【市一】市一院区ID调整
---
smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java | 1 -
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/CommonTaskController.java | 17 +++++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/CommonTaskController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/CommonTaskController.java
index 5b3517d..753afda 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/CommonTaskController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/CommonTaskController.java
@@ -4,6 +4,8 @@
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
+import com.ruoyi.web.component.RedisMqReceiver;
+import com.smartor.domain.CommonTaskcallMQ;
import com.smartor.domain.SendTaskVO;
import com.smartor.domain.ServiceThirdData;
import com.smartor.service.CommonTaskService;
@@ -11,6 +13,7 @@
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -33,6 +36,10 @@
@Autowired
private CommonTaskService commonTaskService;
+ @Autowired
+ private RedisMqReceiver redisMqReceiver;
+ @Value("${localIP}")
+ private String localIP;
/**
* 鏌ヨ棰樼洰鍒楄〃锛堜箟涔岀殑his鏁版嵁鑾峰彇鎯呭喌锛�
@@ -53,4 +60,14 @@
return toAjax(commonTaskService.taskSend(sendTaskVO));
}
+ /**
+ * 浠诲姟鐨勫彂閫佹墽琛屻�佹殏鍋溿�佺粓姝�
+ */
+ @ApiOperation("浠诲姟鐨勫彂閫佹墽琛屻�佹殏鍋溿�佺粓姝�")
+ @PostMapping("/tsakHandle")
+ public AjaxResult tsakHandle(@RequestBody CommonTaskcallMQ commonTaskcallMQ) {
+ redisMqReceiver.tsakHandle(commonTaskcallMQ, localIP, 1);
+ return toAjax(1);
+ }
+
}
diff --git a/smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java b/smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java
index c4d03e0..53166aa 100644
--- a/smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java
+++ b/smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java
@@ -260,7 +260,6 @@
pmks.setDeptcheckFlag("0");
pmks.setInhospstate("1");
pmks.setFuflag("1");
- pmks.setPatid(16685L);
List<PatMedInhosp> patMedInhosps = patMedInhospMapper.selectPatMedInhospList(pmks);
//1.鍏ラ櫌瀹f暀
--
Gitblit v1.9.3