心电分析模块DO修改参数类型
Some checks failed
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
yudao-ui-admin CI / build (14.x) (push) Has been cancelled
yudao-ui-admin CI / build (16.x) (push) Has been cancelled
Some checks failed
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
yudao-ui-admin CI / build (14.x) (push) Has been cancelled
yudao-ui-admin CI / build (16.x) (push) Has been cancelled
This commit is contained in:
parent
96152bc9c6
commit
75f71d74fe
@ -10,6 +10,8 @@ import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.*;
|
||||
import java.io.IOException;
|
||||
|
||||
@ -57,6 +59,19 @@ public class EcganalysisparasController {
|
||||
return success(true);
|
||||
}
|
||||
|
||||
|
||||
@PutMapping("/save")
|
||||
@Operation(summary = "保存心电分析数据")
|
||||
public CommonResult<Boolean> SaveEcganalysisparas(@Valid @RequestBody EcganalysisparasSaveReqVO updateReqVO) {
|
||||
LocalDateTime dateTime = LocalDateTime.parse(LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")),
|
||||
DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
|
||||
updateReqVO.setDoctorDiagTime(dateTime);
|
||||
ecganalysisparasService.updateEcganalysisparas(updateReqVO);
|
||||
return success(true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@DeleteMapping("/delete")
|
||||
@Operation(summary = "删除心电分析数据")
|
||||
@Parameter(name = "id", description = "编号", required = true)
|
||||
|
@ -103,11 +103,11 @@ public class EcganalysisparasRespVO {
|
||||
|
||||
@Schema(description = "诊断医生的医生id", example = "29431")
|
||||
@ExcelProperty("诊断医生的医生id")
|
||||
private Integer doctorId;
|
||||
private String doctorId;
|
||||
|
||||
@Schema(description = "诊断医生的科室id", example = "15130")
|
||||
@ExcelProperty("诊断医生的科室id")
|
||||
private Integer departId;
|
||||
private String departId;
|
||||
|
||||
@Schema(description = "诊断医生的科室名称", example = "赵六")
|
||||
@ExcelProperty("诊断医生的科室名称")
|
||||
@ -127,7 +127,7 @@ public class EcganalysisparasRespVO {
|
||||
|
||||
@Schema(description = "执行删除操作的医生id", example = "10049")
|
||||
@ExcelProperty("执行删除操作的医生id")
|
||||
private Integer deleteDoctorId;
|
||||
private String deleteDoctorId;
|
||||
|
||||
@Schema(description = "心电数据文件的路径: 路径或URL")
|
||||
@ExcelProperty("心电数据文件的路径: 路径或URL")
|
||||
|
@ -1,5 +1,6 @@
|
||||
package cn.iocoder.yudao.module.tblist.dal.dataobject.ecganalysisparas;
|
||||
|
||||
import cn.hutool.core.date.DateTime;
|
||||
import lombok.*;
|
||||
import java.util.*;
|
||||
import java.time.LocalDateTime;
|
||||
|
Loading…
Reference in New Issue
Block a user