Commit 060747df authored by liufan's avatar liufan

优化:设备列表,ES中保存的信息,添加施工信息字段

parent ef246a05
...@@ -3,6 +3,7 @@ package com.yeejoin.amos.boot.module.ymt.api.dto; ...@@ -3,6 +3,7 @@ package com.yeejoin.amos.boot.module.ymt.api.dto;
import lombok.Data; import lombok.Data;
import lombok.experimental.Accessors; import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id; import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Document; import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field; import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType; import org.springframework.data.elasticsearch.annotations.FieldType;
...@@ -93,4 +94,16 @@ public class ESEquipmentCategoryDto { ...@@ -93,4 +94,16 @@ public class ESEquipmentCategoryDto {
@Field(type = FieldType.Text) @Field(type = FieldType.Text)
private String NEXT_INSPECT_DATE; private String NEXT_INSPECT_DATE;
@Field(type = FieldType.Text)
private String CONSTRUCTION_TYPE;
@Field(type = FieldType.Text)
private String USC_UNIT_CREDIT_CODE;
@Field(type = FieldType.Text)
private String USC_UNIT_NAME;
@Field(type = FieldType.Date, format = DateFormat.basic_date_time, index = false)
private String USC_DATE;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment