From e9fad92ee8dbc83b84085861edade8be83b03736 Mon Sep 17 00:00:00 2001
From: XiaoRuby <3114200645@qq.com>
Date: 星期一, 04 九月 2023 18:01:47 +0800
Subject: [PATCH] MOM系统-9-04 三个不合格查询

---
 inspect-server/src/main/java/com/yuanchu/mom/pojo/InspectUnaccepted.java |   17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/inspect-server/src/main/java/com/yuanchu/mom/pojo/InspectUnaccepted.java b/inspect-server/src/main/java/com/yuanchu/mom/pojo/InspectUnaccepted.java
index b484dd7..48384ad 100644
--- a/inspect-server/src/main/java/com/yuanchu/mom/pojo/InspectUnaccepted.java
+++ b/inspect-server/src/main/java/com/yuanchu/mom/pojo/InspectUnaccepted.java
@@ -2,6 +2,7 @@
 
 import com.baomidou.mybatisplus.annotation.*;
 import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModelProperty;
 import lombok.*;
 import lombok.experimental.Accessors;
 import org.springframework.format.annotation.DateTimeFormat;
@@ -31,6 +32,9 @@
     @TableId(type = IdType.AUTO)
     private Integer id;
 
+    @ApiModelProperty(value = "0锛氭垚鍝佹楠屽崟锛�1锛氬崐鎴愬搧妫�楠屽崟锛�2锛氬師鏉愭枡妫�楠屽崟")
+    private Integer type;
+
     /**
      * 缂洪櫡鍚嶇О(鐞嗙敱)
      **/
@@ -53,14 +57,11 @@
     @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
     private Date dealTime;
 
-    /**
-     * ${column.comment}
-     **/
+    @ApiModelProperty(value = "閫昏緫鍒犻櫎 姝e父>=1,鍒犻櫎<=0", hidden = true)
+    @TableLogic(value = "1", delval = "0")
     private Integer state;
 
-    /**
-     * ${column.comment}
-     **/
+
     @TableField(fill = FieldFill.INSERT)
     @DateTimeFormat(pattern = "yyyy-MM-dd")
     @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@@ -76,10 +77,6 @@
      **/
     private Integer rawInspectId;
 
-    /**
-     * 0锛氭垚鍝侊紱1锛氳繃绋嬶紱2锛氬師鏉愭枡
-     **/
-    private Integer type;
 
 
     /**

--
Gitblit v1.9.3