From 41b665baf7d110716c06e47d19f902fec37a1c57 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期三, 30 八月 2023 15:45:36 +0800 Subject: [PATCH] 修改bug --- inspection-server/src/main/java/com/yuanchu/limslaboratory/pojo/LinkDetection.java | 15 +++++---------- 1 files changed, 5 insertions(+), 10 deletions(-) diff --git a/inspection-server/src/main/java/com/yuanchu/limslaboratory/pojo/LinkDetection.java b/inspection-server/src/main/java/com/yuanchu/limslaboratory/pojo/LinkDetection.java index 472e939..c22b3fa 100644 --- a/inspection-server/src/main/java/com/yuanchu/limslaboratory/pojo/LinkDetection.java +++ b/inspection-server/src/main/java/com/yuanchu/limslaboratory/pojo/LinkDetection.java @@ -33,42 +33,34 @@ @TableId(value = "id", type = IdType.AUTO) private Integer id; - @TableField(fill = FieldFill.INSERT) @ApiModelProperty(value = "鏍峰搧缂栧彿", required = true, example = "YPBH123456789") private String sampleNumber; - @TableField(fill = FieldFill.INSERT) @ApiModelProperty(value = "鏍峰搧鍚嶇О", required = true, example = "鍙戝姩鏈�") private String sampleName; - @TableField(fill = FieldFill.INSERT) @ApiModelProperty(value = "瑙勬牸鍨嬪彿", required = true, example = "GGXH-AAAAA") private String specificationsModels; - @TableField(fill = FieldFill.INSERT) @NotBlank(message = "璇峰~鍐欏崟浣嶏紒") @ApiModelProperty(value = "鍗曚綅", required = true, example = "鐧惧害") private String unit; - @TableField(fill = FieldFill.INSERT) @NotNull(message = "璇峰~鍐欐牱鍝佹暟閲忥紒") @ApiModelProperty(value = "鏍峰搧鏁伴噺", required = true, example = "20") private Integer samplesNumber; - @TableField(fill = FieldFill.INSERT) @NotBlank(message = "璇曢獙涓嶈兘涓虹┖锛�") @ApiModelProperty(value = "璇曢獙", required = true, example = "鍋氭ⅵ") private String experiment; - @TableField(fill = FieldFill.INSERT) @ApiModelProperty(value = "澶囨敞", example = "閫氳繃浜�") private String remarks; - @TableField(fill = FieldFill.INSERT) @ApiModelProperty(value = "LinkBasicInformation瀵硅薄Id", hidden = true) private Integer linkBasicId; - @TableLogic(value = "1", delval = "0") + @ApiModelProperty(value = "閫昏緫鍒犻櫎 姝e父>=1,鍒犻櫎<=0", hidden = true) private Integer state; @@ -82,9 +74,12 @@ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date updateTime; - @ApiModelProperty(value = "妫�楠屾棩鏈�", hidden = true) + @ApiModelProperty(value = "妫�楠屾棩鏈�", required = true,example = "2023-08-22") private Date dateSurvey; @ApiModelProperty(value = "妫�楠岀姸鎬�", hidden = true) private Integer inspectionStatus; + + @ApiModelProperty(value = "瑙勬牸鍨嬪彿鍚嶇О", hidden = true) + private String speName; } -- Gitblit v1.9.3