From 54c480e3632fbc6fc821786e2b473bceb2f0ae4e Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期六, 22 三月 2025 15:35:29 +0800
Subject: [PATCH] 天线的电路总报告保留两位小数
---
inspect-server/src/main/java/com/yuanchu/mom/pojo/InsProduct.java | 46 ++++++++++++++++++++++++++++++++++++++--------
1 files changed, 38 insertions(+), 8 deletions(-)
diff --git a/inspect-server/src/main/java/com/yuanchu/mom/pojo/InsProduct.java b/inspect-server/src/main/java/com/yuanchu/mom/pojo/InsProduct.java
index e4c8304..f71f424 100644
--- a/inspect-server/src/main/java/com/yuanchu/mom/pojo/InsProduct.java
+++ b/inspect-server/src/main/java/com/yuanchu/mom/pojo/InsProduct.java
@@ -3,6 +3,7 @@
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
+import com.yuanchu.mom.annotation.ValueTableShow;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -14,9 +15,10 @@
/**
* 妫�楠岄」鐩�
+ *
* @TableName ins_product
*/
-@TableName(value ="ins_product")
+@TableName(value = "ins_product")
@Data
public class InsProduct implements Serializable {
/**
@@ -25,20 +27,34 @@
@TableId(type = IdType.AUTO)
private Integer id;
+ @ValueTableShow(value = 1, name = "鏍峰搧缂栧彿")
+ @TableField(exist = false,select = false)
+ private String sampleCode;
+
/**
* 妫�楠岄」
*/
+ @ValueTableShow(value = 2, name = "妫�楠岄」")
private String inspectionItem;
+
+ private String inspectionItemEn;
/**
* 妫�楠岄」鍒嗙被
*/
- private String inspectionItemClassify;
+ @ApiModelProperty(value = "妫�楠岄」鍒嗙被")
+ private String inspectionItemClass;
+
+ @ApiModelProperty(value = "妫�楠岄」鍒嗙被EN")
+ private String inspectionItemClassEn;
/**
* 妫�楠岄」瀛愮被
*/
+ @ValueTableShow(value = 2, name = "妫�楠岄」瀛愮被")
private String inspectionItemSubclass;
+
+ private String inspectionItemSubclassEn;
/**
* 宸ュ巶
@@ -53,16 +69,19 @@
/**
* 鏍峰搧鍒嗙被
*/
+ @ValueTableShow(value = 3, name = "鏍峰搧鍒嗙被")
private String sampleType;
/**
* 鏍峰搧
*/
+ @ValueTableShow(value = 4, name = "鏍峰搧")
private String sample;
/**
* 鍨嬪彿
*/
+ @ValueTableShow(value = 5, name = "鍨嬪彿")
private String model;
private String methodS;
@@ -70,6 +89,7 @@
/**
* 瀛愬疄楠屽
*/
+ @ValueTableShow(value = 6, name = "璇曢獙瀹�")
private String sonLaboratory;
/**
@@ -128,7 +148,7 @@
private String method;
/**
- * 棰勮鏃堕棿(澶�)
+ * 棰勮鏃堕棿(h)
*/
private Integer manDay;
@@ -140,9 +160,13 @@
/**
* 瑕佹眰鍊�
*/
+ @ValueTableShow(value = 7, name = "瑕佹眰鍊�")
private String ask;
- /**瑕佹眰鎻忚堪*/
+ /**
+ * 瑕佹眰鎻忚堪
+ */
+ @ValueTableShow(value = 8, name = "瑕佹眰鎻忚堪")
private String tell;
/**
@@ -152,7 +176,7 @@
private String lastValue;
/**
- * 1锛氬悎鏍� 0锛氫笉鍚堟牸
+ * 1锛氬悎鏍� 0锛氫笉鍚堟牸 3:涓嶅垽瀹�
*/
private Integer insResult;
@@ -197,11 +221,17 @@
private InsProductResult insProductResult;
@TableField(exist = false)
+ private List<InsProductResult2> insProductResult2;
+
+ @TableField(exist = false)
private String templateName;
private String dic;
+ //娓╁害
+ private String temperature;
+ //婀垮害
+ private String humidity;
- private Integer insFiberId;
+ private Integer standardMethodListId;
- private Integer insFibersId;
-}
\ No newline at end of file
+}
--
Gitblit v1.9.3