新增 对比功能接口
Some checks are pending
Java CI with Maven / build (11) (push) Waiting to run
Java CI with Maven / build (17) (push) Waiting to run
Java CI with Maven / build (8) (push) Waiting to run
yudao-ui-admin CI / build (14.x) (push) Waiting to run
yudao-ui-admin CI / build (16.x) (push) Waiting to run

This commit is contained in:
lxd 2024-12-08 23:55:19 +08:00
parent da9daa81a3
commit 50d11f1743
4 changed files with 19 additions and 0 deletions

View File

@ -106,6 +106,15 @@ public class EcganalysisparasController {
PageResult<EcganalysisparasDO> pageResult = ecganalysisparasService.getEcganalysisparasPage(pageReqVO);
return success(BeanUtils.toBean(pageResult, EcganalysisparasRespVO.class));
}
@GetMapping("/list")
@Operation(summary = "获得心电分析所有数据")
public CommonResult<List<EcganalysisparasDO>> selectEcglist(@RequestParam("regId") String regId)
{
QueryWrapper<EcganalysisparasDO> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("regId", regId);
List<EcganalysisparasDO> doList= ecganalysisparasMapper.selectList(queryWrapper);
return success(doList);
}
@GetMapping("/export-excel")
@Operation(summary = "导出心电分析数据 Excel")

View File

@ -141,4 +141,8 @@ public class EcganalysisparasRespVO {
@ExcelProperty("分析参数的创建时间")
private LocalDateTime createDate;
@Schema(description = "登记ID")
@ExcelProperty("登记ID")
private String regId;
}

View File

@ -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;
}

View File

@ -186,5 +186,7 @@ public class EcganalysisparasDO {
*/
@TableField("createDate")
private LocalDateTime createDate;
@TableField("regId")
private String regId;
}