From eb782eaac8f706a005ce18ed0b73fda22ac36113 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期三, 22 十月 2025 10:27:14 +0800
Subject: [PATCH] 日期格式
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HNGatherPatArchiveController.java | 55 +++++++++++++++++++++++++++++++++++++++++++------------
1 files changed, 43 insertions(+), 12 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HNGatherPatArchiveController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HNGatherPatArchiveController.java
index 6b3a9ed..f25b178 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HNGatherPatArchiveController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HNGatherPatArchiveController.java
@@ -9,10 +9,7 @@
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.PageUtils;
import com.ruoyi.common.utils.poi.ExcelUtil;
-import com.smartor.domain.PatMedInhosp;
-import com.smartor.domain.PatMedOuthosp;
-import com.smartor.domain.PatMedReq;
-import com.smartor.domain.PatMedRes;
+import com.smartor.domain.*;
import com.smartor.service.IHNGatherPatArchiveService;
import com.smartor.service.IPatMedOuthospService;
import com.smartor.service.impl.HNGatherPatArchiveServiceImpl;
@@ -24,7 +21,13 @@
import javax.servlet.http.HttpServletResponse;
import java.lang.reflect.Array;
+import java.time.LocalDate;
+import java.time.LocalDateTime;
+import java.time.ZoneId;
+import java.util.Date;
import java.util.List;
+
+import static com.ruoyi.framework.datasource.DynamicDataSourceContextHolder.log;
/**
* 娌冲崡閲囬泦鎮h�呬俊鎭帴鍙ontroller
@@ -35,6 +38,7 @@
@RestController
@RequestMapping("/smartor/hngather")
@Api(description = "娌冲崡閲囬泦鎮h�呬俊鎭帴鍙�")
+
public class HNGatherPatArchiveController extends BaseController {
@Autowired
private IHNGatherPatArchiveService ihnGatherPatArchiveService;
@@ -42,15 +46,42 @@
/**
* 娌冲崡鏁版嵁閲囬泦
*/
- //@PreAuthorize("@ss.hasPermi('smartor:patouthosp:list')")
- @PostMapping("/selectGatherList")
+ @PostMapping("/hnDataGather")
@ApiOperation("娌冲崡鏁版嵁閲囬泦")
- public Integer selectUserList(@RequestBody SysUser sysUser) {
-// Integer integer = ihnGatherPatArchiveService.selectUserList(null);
-// Integer deptInt = ihnGatherPatArchiveService.selectDeptList(null);
-// Integer icdInt = ihnGatherPatArchiveService.selectIcd10List(null);
- Integer integer = ihnGatherPatArchiveService.selectPatMedInhospList(new PatMedInhosp());
- return integer;
+ public AjaxResult hnDataGather(@RequestBody HnDataGatherVO hnDataGatherVO) {
+ log.info("寮�濮嬫寜澶╁悓姝ョ敤鎴锋暟鎹紝鏃堕棿鑼冨洿: {} 鍒� {}", hnDataGatherVO.getStartTime(), hnDataGatherVO.getEndTime());
+ Boolean aBoolean = ihnGatherPatArchiveService.hnDataGather(hnDataGatherVO);
+ return AjaxResult.success(aBoolean);
+ }
+
+ /**
+ * 鏌ヨ鐤剧梾鍒楄〃鏁版嵁閲囬泦
+ */
+ @PostMapping("/selectIcd10List")
+ @ApiOperation("鏌ヨ鐤剧梾鍒楄〃鏁版嵁閲囬泦")
+ public AjaxResult selectIcd10List(@RequestBody Icd10 icd10) {
+ Integer integer = ihnGatherPatArchiveService.selectIcd10List(icd10);
+ return AjaxResult.success(integer);
+ }
+
+ /**
+ * 鐢ㄦ埛淇℃伅闆嗗悎淇℃伅鏁版嵁閲囬泦
+ */
+ @PostMapping("/selectUserList")
+ @ApiOperation("鐢ㄦ埛淇℃伅闆嗗悎淇℃伅鏁版嵁閲囬泦")
+ public AjaxResult selectUserList(@RequestBody SysUser sysUser) {
+ Integer integer = ihnGatherPatArchiveService.selectUserList(sysUser);
+ return AjaxResult.success(integer);
+ }
+
+ /**
+ * 閮ㄩ棬淇℃伅闆嗗悎淇℃伅鏁版嵁閲囬泦
+ */
+ @PostMapping("/selectDeptList")
+ @ApiOperation("閮ㄩ棬淇℃伅闆嗗悎淇℃伅鏁版嵁閲囬泦")
+ public AjaxResult selectDeptList(@RequestBody SysDept sysDept) {
+ Integer integer = ihnGatherPatArchiveService.selectDeptList(sysDept);
+ return AjaxResult.success(integer);
}
}
--
Gitblit v1.9.3