فهرست منبع

故障字典增加字段

Gaokun Wang 4 ماه پیش
والد
کامیت
1245ac273c
1فایلهای تغییر یافته به همراه9 افزوده شده و 2 حذف شده
  1. 9 2
      als-modules/agile-assurance/src/main/java/org/eco/als/domain/FaultCase.java

+ 9 - 2
als-modules/agile-assurance/src/main/java/org/eco/als/domain/FaultCase.java

@@ -2,6 +2,7 @@ package org.eco.als.domain;
 
 import com.alibaba.excel.annotation.ExcelProperty;
 import com.fasterxml.jackson.annotation.JsonFormat;
+import com.mybatisflex.annotation.Column;
 import com.mybatisflex.annotation.Id;
 import com.mybatisflex.annotation.Table;
 import lombok.Data;
@@ -75,16 +76,22 @@ public class FaultCase implements Serializable {
     /**
      * 故障现象
      */
-    @ExcelProperty(value = "故障现象")
     @IndexField(value = "pContent", fieldType = FieldType.TEXT, strategy = FieldStrategy.NOT_EMPTY,
         analyzer = Analyzer.IK_MAX_WORD, searchAnalyzer = Analyzer.IK_MAX_WORD)
     @HighLight(preTag = "<font color=\"red\" >", postTag = "</font>")
     private String faultPhenomenon;
 
+    @ExcelProperty(value = "故障现象")
+    @Column(ignore = true)
+    private String pContent;
+
+    @ExcelProperty(value = "故障原因")
+    @Column(ignore = true)
+    private String fContent;
+
     /**
      * 故障原因
      */
-    @ExcelProperty(value = "故障原因")
     @IndexField(value = "fContent", fieldType = FieldType.TEXT, strategy = FieldStrategy.NOT_EMPTY,
         analyzer = Analyzer.IK_MAX_WORD, searchAnalyzer = Analyzer.IK_MAX_WORD)
     @HighLight(preTag = "<font color=\"red\" >", postTag = "</font>")