From 5445185e5e0dab34d626bed169b45d8e0d532696 Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期三, 13 九月 2023 09:17:35 +0800
Subject: [PATCH] 保养、维修实际用料  bug修改,

---
 lxzn-module-eam/src/main/java/org/jeecg/modules/eam/entity/PredictiveWorkOrder.java |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/entity/PredictiveWorkOrder.java b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/entity/PredictiveWorkOrder.java
index 9fcef22..64c8f83 100644
--- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/entity/PredictiveWorkOrder.java
+++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/entity/PredictiveWorkOrder.java
@@ -1,5 +1,6 @@
 package org.jeecg.modules.eam.entity;
 
+import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import com.baomidou.mybatisplus.annotation.TableName;
 import com.fasterxml.jackson.annotation.JsonFormat;
@@ -8,6 +9,7 @@
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 import lombok.experimental.Accessors;
+import org.jeecg.common.aspect.annotation.Dict;
 import org.jeecg.common.constant.CommonConstant;
 import org.jeecg.common.system.base.entity.JeecgEntity;
 import org.jeecgframework.poi.excel.annotation.Excel;
@@ -16,6 +18,9 @@
 import java.io.Serializable;
 import java.util.Date;
 
+/**
+ * @author hlnl
+ */
 @Data
 @TableName("mom_eam_predictive_work_order")
 @Accessors(chain = true)
@@ -135,4 +140,24 @@
 
     private String itemId;
 
+    @TableField(exist = false)
+    @Dict(dicCode = "monitor_type")
+    private String monitorType;
+    @TableField(exist = false)
+    private String planNum;
+    @TableField(exist = false)
+    @Dict(dictTable = "mom_base_team",dicCode = "id",dicText = "name")
+    private String teamId;
+    @TableField(exist = false)
+    private String version;
+    @TableField(exist = false)
+    private String equipmentNum;
+    @TableField(exist = false)
+    private String equipmentName;
+    @TableField(exist = false)
+    private String model;
+    @TableField(exist = false)
+    @Dict(dicText = "depart_name",dicCode = "id",dictTable = "sys_depart")
+    private String useId;
+
 }

--
Gitblit v1.9.3