From 8bf9254ba43e744517d4de2516121da2979fd057 Mon Sep 17 00:00:00 2001 From: liding <756868258@qq.com> Date: 星期二, 01 四月 2025 11:29:51 +0800 Subject: [PATCH] 1.检验项目参数导入 2.对象导入 --- basic-server/src/main/java/com/ruoyi/basic/pojo/StructureItemParameter.java | 132 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 130 insertions(+), 2 deletions(-) diff --git a/basic-server/src/main/java/com/ruoyi/basic/pojo/StructureItemParameter.java b/basic-server/src/main/java/com/ruoyi/basic/pojo/StructureItemParameter.java index 7faa8be..a2b34ba 100644 --- a/basic-server/src/main/java/com/ruoyi/basic/pojo/StructureItemParameter.java +++ b/basic-server/src/main/java/com/ruoyi/basic/pojo/StructureItemParameter.java @@ -3,6 +3,7 @@ import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModelProperty; +import com.alibaba.excel.annotation.ExcelProperty; import lombok.Data; import java.io.Serializable; @@ -14,108 +15,235 @@ * @author makejava * @since 2024-02-26 16:21:17 */ -@TableName(value ="structure_item_parameter") +@TableName(value = "structure_item_parameter") @Data public class StructureItemParameter implements Serializable { + + /** + * 涓婚敭 + */ @ApiModelProperty(value = "涓婚敭") @TableId(type = IdType.AUTO) private Integer id; + /** + * 妫�楠岄」 + */ @ApiModelProperty(value = "妫�楠岄」") + @ExcelProperty(value = "妫�娴嬪弬鏁板悕绉�",index = 4) private String inspectionItem; + /** + * 妫�楠岄」EN + */ @ApiModelProperty(value = "妫�楠岄」EN") + @ExcelProperty(value = "妫�娴嬪弬鏁板悕绉帮紙EN锛�",index = 5) private String inspectionItemEn; + /** + * 妫�楠屽瓙椤� + */ @ApiModelProperty(value = "妫�楠屽瓙椤�") + @ExcelProperty(value = "妫�娴嬪瓙椤�",index = 6) private String inspectionItemSubclass; + /** + * 妫�楠屽瓙椤笶N + */ @ApiModelProperty(value = "妫�楠屽瓙椤笶N") + @ExcelProperty(value = "妫�娴嬪瓙椤�(EN)",index = 7) private String inspectionItemSubclassEn; + /** + * 妫�楠屽璞� + */ @ApiModelProperty(value = "妫�楠屽璞�") + @ExcelProperty(value = "娴嬭瘯瀵硅薄",index = 1) private String sample; + /** + * 鍗曚环(鍏�) + */ @ApiModelProperty(value = "鍗曚环(鍏�)") + @ExcelProperty(value = "鍗曚环",index = 13) private String price; + /** + * 鍦烘墍 + */ @ApiModelProperty(value = "鍦烘墍") + @ExcelProperty(value = "鍦烘墍",index = 24) private String laboratory; + /** + * 璇曢獙瀹� + */ @ApiModelProperty(value = "璇曢獙瀹�") + @ExcelProperty(value = "璇曢獙瀹�",index = 9) private String sonLaboratory; + /** + * 瑕佹眰鎻忚堪 + */ @ApiModelProperty(value = "瑕佹眰鎻忚堪") + @ExcelProperty(value = "鏍囧噯鏄剧ず",index = 11) private String askTell; + /** + * 瑕佹眰鍊� + */ @ApiModelProperty(value = "瑕佹眰鍊�") + @ExcelProperty(value = "鍒ゆ柇瑕佹眰",index = 12) private String ask; + /** + * 璁¢噺鍗曚綅 + */ @ApiModelProperty(value = "璁¢噺鍗曚綅") + @ExcelProperty(value = "璁¢噺鍗曚綅",index = 10) private String unit; + /** + * 璇曢獙鏂规硶 + */ @ApiModelProperty(value = "璇曢獙鏂规硶") + @ExcelProperty(value = "鏂规硶鍚嶇О",index = 8) private String method; + /** + * 宸ユ椂(H) + */ @ApiModelProperty(value = "宸ユ椂(H)") + @ExcelProperty(value = "宸ユ椂绯绘暟",index = 14) private Double manHour; + /** + * 棰勮鏃堕棿(H) + */ @ApiModelProperty(value = "棰勮鏃堕棿(H)") + @ExcelProperty(value = "棰勮瀹屾垚鏃堕棿",index = 16) private Integer manDay; + /** + * 宸ユ椂鍒嗙粍 + */ @ApiModelProperty(value = "宸ユ椂鍒嗙粍") + @ExcelProperty(value = "宸ユ椂鍒嗙粍",index = 15) private String manHourGroup; + /** + * 妫�楠岄」绫诲瀷 + */ @ApiModelProperty(value = "妫�楠岄」绫诲瀷") + @ExcelProperty(value = "鏁版嵁绫诲瀷",index = 17) private String inspectionItemType; + /** + * 妫�楠屽�肩被鍨� + */ @ApiModelProperty(value = "妫�楠屽�肩被鍨�") + @ExcelProperty(value = "妫�楠屽�肩被鍨�",index = 18) private String inspectionValueType; + /** + * 妫�楠屾鏁� + */ @ApiModelProperty(value = "妫�楠屾鏁�") private Integer checkoutNumber; + /** + * 鍖洪棿 + */ @ApiModelProperty(value = "鍖洪棿") private String section; + /** + * 鐗规畩鏍囪瘑 + */ @ApiModelProperty(value = "鐗规畩鏍囪瘑") + @ExcelProperty(value = "鐗规畩鏍囪瘑",index = 19) private String bsm; + /** + * 鍘熷璁板綍妯℃澘 + */ @ApiModelProperty(value = "鍘熷璁板綍妯℃澘") private Integer templateId; + @TableField(exist = false) + @ExcelProperty(value = "鍘熷璁板綍妯℃澘",index = 21) + private String templateName; + + /** + * 鍒涘缓浜篿d + */ @ApiModelProperty(value = "鍒涘缓浜篿d") @TableField(fill = FieldFill.INSERT) private Integer createUser; + /** + * 淇敼浜篿d + */ @ApiModelProperty(value = "淇敼浜篿d") @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; + /** + * 鍒涘缓鏃堕棿 + */ @ApiModelProperty(value = "鍒涘缓鏃堕棿") @TableField(fill = FieldFill.INSERT) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; + /** + * 淇敼鏃堕棿 + */ @ApiModelProperty(value = "淇敼鏃堕棿") @TableField(fill = FieldFill.INSERT_UPDATE) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime updateTime; + /** + * 瀛楀吀绫诲瀷 + */ @ApiModelProperty(value = "瀛楀吀绫诲瀷") + @ExcelProperty(value = "鏁版嵁瀛楀吀",index = 20) private String dic; + /** + * 妫�楠岄」鍒嗙被 + */ @ApiModelProperty(value = "妫�楠岄」鍒嗙被") + @ExcelProperty(value = "妫�楠岄」鍒嗙被",index = 22) private String inspectionItemClass; + /** + * 妫�楠岄」鍒嗙被EN + */ @ApiModelProperty(value = "妫�楠岄」鍒嗙被EN") + @ExcelProperty(value = "妫�楠岄」鍒嗙被",index = 23) private String inspectionItemClassEn; + /** + * 鏉′欢 + */ @ApiModelProperty(value = "鏉′欢") + @ExcelProperty(value = "璇曢獙鏉′欢",index = 25) private String radiusList; + /** + * 鏀惰垂鏍囧噯(鍏�/娆�) + */ @ApiModelProperty(value = "鏀惰垂鏍囧噯(鍏�/娆�)") + @ExcelProperty(value = "鏀惰垂鏍囧噯",index = 26) private String rates; -} + @TableField(exist = false) + @ExcelProperty(value = "浜у搧",index = 2) + private String product; + @ExcelProperty(value = "妫�娴嬪弬鏁扮紪鍙�",index = 3) + @TableField(exist = false) + private String parameterNumber; +} \ No newline at end of file -- Gitblit v1.9.3