检查项目表和患者检查项目表新增模块名称和模块ID

This commit is contained in:
lxd 2025-02-28 15:23:25 +08:00
parent a362ea10fc
commit b17ed6a641
8 changed files with 69 additions and 8 deletions

View File

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.inspect.controller.admin.inspectitems.vo; package cn.iocoder.yudao.module.inspect.controller.admin.inspectitems.vo;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.*; import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam; import cn.iocoder.yudao.framework.common.pojo.PageParam;
@ -52,12 +53,18 @@ public class InspectitemsPageReqVO extends PageParam {
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime createTime; private LocalDateTime createTime;
@Schema(description = "模块ID体检单元ID 模块名称ID", example = "20997") @Schema(description = "体检单元ID ", example = "20997")
private Integer moduleID; private Integer moduleID;
@Schema(description = "模块名称:体检单元", example = "张三") @Schema(description = "体检单元", example = "张三")
private String moduleName; private String moduleName;
@Schema(description = "科室ID") @Schema(description = "科室ID")
private String sectionID; private String sectionID;
@Schema(description = "模块名称")
private String groupname;
@Schema(description = "模块ID")
private String groupcode;
} }

View File

@ -64,15 +64,21 @@ public class InspectitemsRespVO {
@ExcelProperty("创建时间") @ExcelProperty("创建时间")
private LocalDateTime createTime; private LocalDateTime createTime;
@Schema(description = "模块ID体检单元ID 模块名称ID", example = "20997") @Schema(description = "体检单元ID ", example = "20997")
@ExcelProperty("模块ID体检单元ID 模块名称ID") @ExcelProperty("模块ID体检单元ID 模块名称ID")
private Integer moduleID; private Integer moduleID;
@Schema(description = "模块名称:体检单元", example = "张三") @Schema(description = "体检单元", example = "张三")
@ExcelProperty("模块名称:体检单元") @ExcelProperty("模块名称:体检单元")
private String moduleName; private String moduleName;
@Schema(description = "科室ID") @Schema(description = "科室ID")
private String sectionID; private String sectionID;
@Schema(description = "模块名称")
private String groupname;
@Schema(description = "模块ID")
private String groupcode;
} }

View File

@ -49,11 +49,18 @@ public class InspectitemsSaveReqVO {
@Schema(description = "创建时间") @Schema(description = "创建时间")
private LocalDateTime createTime; private LocalDateTime createTime;
@Schema(description = "模块ID体检单元ID 模块名称ID", example = "20997") @Schema(description = "体检单元ID ", example = "20997")
private Integer moduleID; private Integer moduleID;
@Schema(description = "模块名称:体检单元", example = "张三") @Schema(description = "体检单元", example = "张三")
private String moduleName; private String moduleName;
@Schema(description = "科室ID") @Schema(description = "科室ID")
private String sectionID; private String sectionID;
@Schema(description = "模块名称")
private String groupname;
@Schema(description = "模块ID")
private String groupcode;
} }

View File

@ -70,4 +70,10 @@ public class InspectPatientitemsPageReqVO extends PageParam {
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime inspecttime; private LocalDateTime inspecttime;
@Schema(description = "模块名称")
private String groupname;
@Schema(description = "模块ID")
private String groupcode;
} }

View File

@ -84,4 +84,10 @@ public class InspectPatientitemsRespVO {
@Schema(description = "检查时间") @Schema(description = "检查时间")
private LocalDateTime inspecttime; private LocalDateTime inspecttime;
@Schema(description = "模块名称")
private String groupname;
@Schema(description = "模块ID")
private String groupcode;
} }

View File

@ -72,5 +72,11 @@ public class InspectPatientitemsSaveReqVO {
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime inspecttime; private LocalDateTime inspecttime;
@Schema(description = "模块名称")
private String groupname;
@Schema(description = "模块ID")
private String groupcode;
} }

View File

@ -81,12 +81,12 @@ public class InspectitemsDO {
@TableField("lowValue") @TableField("lowValue")
private Double lowValue; private Double lowValue;
/** /**
* 模块ID体检单元ID 模块名称ID * 体检单元ID
*/ */
@TableField("moduleID") @TableField("moduleID")
private Integer moduleID; private Integer moduleID;
/** /**
* 模块名称体检单元 * 体检单元
*/ */
@TableField("moduleName") @TableField("moduleName")
private String moduleName; private String moduleName;
@ -95,5 +95,16 @@ public class InspectitemsDO {
*/ */
@TableField("sectionID") @TableField("sectionID")
private String sectionID; private String sectionID;
/*
* 模块名称
* */
@TableField("groupname")
private String groupname;
/*
* 模块ID
* */
@TableField("groupcode")
private String groupcode;
} }

View File

@ -117,4 +117,16 @@ public class InspectPatientitemsDO {
@TableField("inspecttime") @TableField("inspecttime")
private LocalDateTime inspecttime; private LocalDateTime inspecttime;
/*
* 模块名称
* */
@TableField("groupname")
private String groupname;
/*
* 模块ID
* */
@TableField("groupcode")
private String groupcode;
} }