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