From b854d8d7604329dcf99584d15f83ff02076d9e07 Mon Sep 17 00:00:00 2001 From: songhuangfeng123 <shf18767906695@163.com> Date: 星期四, 01 九月 2022 10:52:04 +0800 Subject: [PATCH] 假删除fix --- equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentTestDetail.java | 39 ++++++++++++++++++++++++--------------- 1 files changed, 24 insertions(+), 15 deletions(-) diff --git a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentTestDetail.java b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentTestDetail.java index 66d3f26..fe498a8 100644 --- a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentTestDetail.java +++ b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentTestDetail.java @@ -1,18 +1,17 @@ package com.gkhy.safePlatform.equipment.entity; import java.sql.Timestamp; - -import com.fasterxml.jackson.annotation.JsonFormat; import com.gkhy.safePlatform.equipment.entity.BaseDomain; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.IdType; +import com.fasterxml.jackson.annotation.JsonFormat; /** * 设备检测明细(EquipmentTestDetail)表实体类 * * @author xurui - * @since 2022-08-03 11:15:57 + * @since 2022-08-29 08:37:54 */ @SuppressWarnings("serial") @TableName("equipment_test_detail") @@ -30,7 +29,7 @@ } //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施 3:重点监管装置/设备 - private Integer infoTpe; + private Integer infoTpe; public Integer getInfoTpe() { return infoTpe; @@ -40,7 +39,7 @@ this.infoTpe = infoTpe; } //设备ID/外键 - private Long equipmentId; + private Long equipmentId; public Long getEquipmentId() { return equipmentId; @@ -50,7 +49,7 @@ this.equipmentId = equipmentId; } //检测人/外键 - private Long testPersonId; + private Long testPersonId; public Long getTestPersonId() { return testPersonId; @@ -60,7 +59,7 @@ this.testPersonId = testPersonId; } //检测人名称 - private String testPersonName; + private String testPersonName; public String getTestPersonName() { return testPersonName; @@ -70,8 +69,8 @@ this.testPersonName = testPersonName; } //检测日期 - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") - private Timestamp testDate; + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Timestamp testDate; public Timestamp getTestDate() { return testDate; @@ -81,7 +80,7 @@ this.testDate = testDate; } //检测人单位/外键 - private Long testPersonDepartmentId; + private Long testPersonDepartmentId; public Long getTestPersonDepartmentId() { return testPersonDepartmentId; @@ -91,7 +90,7 @@ this.testPersonDepartmentId = testPersonDepartmentId; } //检测人单位名称 - private String testPersonDepartmentName; + private String testPersonDepartmentName; public String getTestPersonDepartmentName() { return testPersonDepartmentName; @@ -101,7 +100,7 @@ this.testPersonDepartmentName = testPersonDepartmentName; } //检测内容 - private String testMemo; + private String testMemo; public String getTestMemo() { return testMemo; @@ -111,7 +110,7 @@ this.testMemo = testMemo; } //检测结果 1:正常 2:异常 - private Integer testResult; + private Integer testResult; public Integer getTestResult() { return testResult; @@ -121,7 +120,7 @@ this.testResult = testResult; } //检测状态 - private String testStatus; + private String testStatus; public String getTestStatus() { return testStatus; @@ -130,5 +129,15 @@ public void setTestStatus(String testStatus) { this.testStatus = testStatus; } - + //是否删除 0:未删除 1:删除 + private Integer delFlag; + + public Integer getDelFlag() { + return delFlag; + } + + public void setDelFlag(Integer delFlag) { + this.delFlag = delFlag; + } + } \ No newline at end of file -- Gitblit v1.9.2