From 42cbf4dbc2a47e976ca78af7d7a2a8773b29acb8 Mon Sep 17 00:00:00 2001
From: gaoaoy <1042166043@qq.com>
Date: 星期三, 13 三月 2024 10:06:55 +0800
Subject: [PATCH] 检验下单 功能调整

---
 inspect-server/src/main/java/com/yuanchu/mom/pojo/InsOrder.java |  220 ++++++++++++++++++++++++++++++++++--------------------
 1 files changed, 137 insertions(+), 83 deletions(-)

diff --git a/inspect-server/src/main/java/com/yuanchu/mom/pojo/InsOrder.java b/inspect-server/src/main/java/com/yuanchu/mom/pojo/InsOrder.java
index 74ccaf5..0b20821 100644
--- a/inspect-server/src/main/java/com/yuanchu/mom/pojo/InsOrder.java
+++ b/inspect-server/src/main/java/com/yuanchu/mom/pojo/InsOrder.java
@@ -1,23 +1,25 @@
 package com.yuanchu.mom.pojo;
 
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableField;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.*;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.yuanchu.mom.annotation.ValueTableShow;
+import com.yuanchu.mom.common.OrderBy;
+import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
 import java.io.Serializable;
-import java.util.Date;
+import java.time.LocalDateTime;
 
 /**
  * 妫�楠屼笅鍗�
+ *
  * @TableName ins_order
  */
-@TableName(value ="ins_order")
+@TableName(value = "ins_order")
 @Data
-public class InsOrder implements Serializable {
+public class InsOrder extends OrderBy implements Serializable {
     /**
-     * 
+     *
      */
     @TableId(type = IdType.AUTO)
     private Integer id;
@@ -25,127 +27,179 @@
     /**
      * 濮旀墭缂栧彿
      */
+    @ValueTableShow(1)
+    @ApiModelProperty(value = "濮旀墭缂栧彿")
     private String entrustCode;
 
     /**
      * 鏍峰搧缂栫爜
      */
+    @ValueTableShow(2)
+    @ApiModelProperty(value = "鏍峰搧缂栫爜")
     private String sampleCode;
-
-    /**
-     * 涓嬪崟瀹㈡埛
-     */
-    private String orderingCustomers;
-
-    /**
-     * 涓嬪崟鍗曚綅
-     */
-    private String orderingUnit;
-
-    /**
-     * 绱ф�ョ▼搴�
-     */
-    private String urgency;
-
-    /**
-     * 绾﹀畾鏃堕棿
-     */
-    private Date appointedTime;
-
-    /**
-     * 瀹為獙瀹ゅ悕绉�
-     */
-    private String laboratoryName;
-
-    /**
-     * 鏍峰搧鍒嗙被
-     */
-    private String sampleClassification;
-
-    /**
-     * 瑙勬牸鍨嬪彿
-     */
-    private String model;
-
-    /**
-     * 鏍峰搧鍚嶇О
-     */
-    private String sample;
-
-    /**
-     * 鏍峰搧鏁伴噺
-     */
-    private Integer numberSamples;
-
-    /**
-     * 鏄惁鐣欐牱
-     */
-    private String leaveSample;
-
-    /**
-     * 鐣欐牱鏁伴噺
-     */
-    private Integer retainedSamples;
 
     /**
      * 鏍峰搧绫诲瀷
      */
+    @ValueTableShow(3)
+    @ApiModelProperty(value = "鏍峰搧绫诲瀷")
     private String smapleType;
+
+    /**
+     * 鏍峰搧鍚嶇О
+     */
+    @ValueTableShow(4)
+    @ApiModelProperty(value = "鏍峰搧鍚嶇О")
+    private String sample;
 
     /**
      * 濮旀墭鍏徃
      */
+    @ValueTableShow(5)
+    @ApiModelProperty(value = "濮旀墭鍏徃")
     private String entrustCompany;
 
     /**
      * 濮旀墭浜�
      */
-    private String entrustName;
+    @ValueTableShow(6)
+    @ApiModelProperty(value = "濮旀墭浜�")
+    private String client;
 
     /**
      * 鍒跺崟鏃堕棿
-
      */
-    private Date documentTime;
+    @ValueTableShow(7)
+    @ApiModelProperty("鍒跺崟鏃堕棿")
+    @TableField(fill = FieldFill.INSERT)
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private LocalDateTime documentPreparation;
 
     /**
      * 濮旀墭鏃堕棿
-
      */
-    private Date entrustmentTime;
+    @ValueTableShow(8)
+    @ApiModelProperty("濮旀墭鏃堕棿")
+    @TableField(fill = FieldFill.INSERT)
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private LocalDateTime entrustmentTime;
+
+    /**
+     * 鏍峰搧鏁伴噺
+     */
+    @ValueTableShow(9)
+    @ApiModelProperty(value = "鏍峰搧鏁伴噺")
+    private Double sampleNum;
+
+    /**
+     * 绱ф�ョ▼搴�
+     */
+    @ValueTableShow(10)
+    @ApiModelProperty(value = "绱ф�ョ▼搴�")
+    private Integer type;
+
+    /**
+     * 绾﹀畾鏃堕棿
+     */
+    @ValueTableShow(11)
+    @ApiModelProperty(value = "绾﹀畾鏃堕棿")
+    @TableField(fill = FieldFill.INSERT)
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private LocalDateTime appointedTime;
 
     /**
      * 妫�娴嬭繘搴�
-
      */
-    private String inspectionProgress;
+    @ValueTableShow(12)
+    @ApiModelProperty(value = "妫�娴嬭繘搴�")
+    private String insProgress;
 
     /**
      * 妫�娴嬬粨鏋�
-
      */
-    private String inspectionResult;
+    @ValueTableShow(13)
+    @ApiModelProperty(value = "妫�娴嬬粨鏋�")
+    private String detectionResult;
 
     /**
-     * 
+     * 涓嬪崟瀹㈡埛
      */
+    @ApiModelProperty(value = "涓嬪崟瀹㈡埛")
+    private String custom;
+
+    /**
+     * 涓嬪崟鍗曚綅
+     */
+    @ApiModelProperty(value = "涓嬪崟鍗曚綅")
+    private String company;
+
+    /**
+     * 宸ュ巶鍩�
+     */
+    @ApiModelProperty(value = "宸ュ巶鍩�")
+    private String code;
+
+    /**
+     * 瀹為獙瀹ゅ悕绉�
+     */
+    @ApiModelProperty(value = "瀹為獙瀹ゅ悕绉�")
+    private String laboratory;
+
+    /**
+     * 瑙勬牸鍨嬪彿
+     */
+    @ApiModelProperty(value = "瑙勬牸鍨嬪彿")
+    private String model;
+
+    /**
+     * 鏄惁鐣欐牱
+     */
+    @ApiModelProperty(value = "鏄惁鐣欐牱")
+    private Integer isLeave;
+
+    /**
+     * 鐣欐牱鏁伴噺
+     */
+    @ApiModelProperty(value = "鐣欐牱鏁伴噺")
+    private Integer leaveNum;
+
+    /**
+     * 1锛氭楠屽鐞� 0锛氬緟瀹℃牳 2锛氶��鍥� 3锛氭挙閿�
+     */
+    private Integer state;
+
+    /**
+     * 澶囨敞
+     */
+    private String remark;
+
+    /**
+     * OTC璁㈠崟鍙�
+     */
+    private String otcCode;
+
+    @ApiModelProperty("")
+    @TableField(fill = FieldFill.INSERT)
     private Integer createUser;
-
     /**
-     * 
+     *
      */
-    private Date createTime;
-
+    @ApiModelProperty("鍒涘缓鏃堕棿")
+    @TableField(fill = FieldFill.INSERT)
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private LocalDateTime createTime;
     /**
-     * 
+     *
      */
+    @ApiModelProperty("")
+    @TableField(fill = FieldFill.INSERT_UPDATE)
     private Integer updateUser;
-
     /**
-     * 
+     *
      */
-    private Date updateTime;
+    @ApiModelProperty("淇敼鏃堕棿")
+    @TableField(fill = FieldFill.INSERT_UPDATE)
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private LocalDateTime updateTime;
 
-    @TableField(exist = false)
-    private static final long serialVersionUID = 1L;
 }
\ No newline at end of file

--
Gitblit v1.9.3