From 50d11f1743750960ed6f37f192b26972c2c8fb27 Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Sun, 8 Dec 2024 23:55:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E5=AF=B9=E6=AF=94?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ecganalysisparas/EcganalysisparasController.java | 9 +++++++++ .../ecganalysisparas/vo/EcganalysisparasRespVO.java | 4 ++++ .../ecganalysisparas/vo/EcganalysisparasSaveReqVO.java | 4 ++++ .../dataobject/ecganalysisparas/EcganalysisparasDO.java | 2 ++ 4 files changed, 19 insertions(+) diff --git a/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/ecganalysisparas/EcganalysisparasController.java b/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/ecganalysisparas/EcganalysisparasController.java index 1aa346df3..0106963c5 100644 --- a/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/ecganalysisparas/EcganalysisparasController.java +++ b/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/ecganalysisparas/EcganalysisparasController.java @@ -106,6 +106,15 @@ public class EcganalysisparasController { PageResult pageResult = ecganalysisparasService.getEcganalysisparasPage(pageReqVO); return success(BeanUtils.toBean(pageResult, EcganalysisparasRespVO.class)); } + @GetMapping("/list") + @Operation(summary = "获得心电分析所有数据") + public CommonResult> selectEcglist(@RequestParam("regId") String regId) + { + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper.eq("regId", regId); + List doList= ecganalysisparasMapper.selectList(queryWrapper); + return success(doList); + } @GetMapping("/export-excel") @Operation(summary = "导出心电分析数据 Excel") diff --git a/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/ecganalysisparas/vo/EcganalysisparasRespVO.java b/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/ecganalysisparas/vo/EcganalysisparasRespVO.java index 62a1fda95..c5ac4a882 100644 --- a/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/ecganalysisparas/vo/EcganalysisparasRespVO.java +++ b/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/ecganalysisparas/vo/EcganalysisparasRespVO.java @@ -141,4 +141,8 @@ public class EcganalysisparasRespVO { @ExcelProperty("分析参数的创建时间") private LocalDateTime createDate; + @Schema(description = "登记ID") + @ExcelProperty("登记ID") + private String regId; + } \ No newline at end of file diff --git a/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/ecganalysisparas/vo/EcganalysisparasSaveReqVO.java b/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/ecganalysisparas/vo/EcganalysisparasSaveReqVO.java index 5c2bd0641..1555e2587 100644 --- a/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/ecganalysisparas/vo/EcganalysisparasSaveReqVO.java +++ b/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/ecganalysisparas/vo/EcganalysisparasSaveReqVO.java @@ -1,5 +1,6 @@ package cn.iocoder.yudao.module.tblist.controller.admin.ecganalysisparas.vo; +import com.alibaba.excel.annotation.ExcelProperty; import io.swagger.v3.oas.annotations.media.Schema; import lombok.*; import java.util.*; @@ -106,4 +107,7 @@ public class EcganalysisparasSaveReqVO { @Schema(description = "分析参数的创建时间") private LocalDateTime createDate; + @Schema(description = "登记ID") + private String regId; + } \ No newline at end of file diff --git a/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/dal/dataobject/ecganalysisparas/EcganalysisparasDO.java b/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/dal/dataobject/ecganalysisparas/EcganalysisparasDO.java index 9364d9586..609044c51 100644 --- a/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/dal/dataobject/ecganalysisparas/EcganalysisparasDO.java +++ b/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/dal/dataobject/ecganalysisparas/EcganalysisparasDO.java @@ -186,5 +186,7 @@ public class EcganalysisparasDO { */ @TableField("createDate") private LocalDateTime createDate; + @TableField("regId") + private String regId; } \ No newline at end of file