Commit 22655732 authored by suhuiguang's avatar suhuiguang

feat(综合搜索):实体类创建

1.人员、企业、设备 2.技术参数
parent d2af7815
...@@ -18,9 +18,7 @@ import java.util.Date; ...@@ -18,9 +18,7 @@ import java.util.Date;
import java.util.List; import java.util.List;
/** /**
* @Author cpp * 设备
* @Description
* @Date 2023/6/5
*/ */
@Data @Data
@Accessors(chain = true) @Accessors(chain = true)
...@@ -205,6 +203,13 @@ public class ESEquipmentInfo { ...@@ -205,6 +203,13 @@ public class ESEquipmentInfo {
@Field(type = FieldType.Date, format = DateFormat.date) @Field(type = FieldType.Date, format = DateFormat.date)
private Date USC_DATE; private Date USC_DATE;
/**
*
*创建日期
*/
@Field(type = FieldType.Date, format = DateFormat.date_hour_minute_second)
private Date createDate;
/** /**
* 产品名称 * 产品名称
...@@ -304,9 +309,15 @@ public class ESEquipmentInfo { ...@@ -304,9 +309,15 @@ public class ESEquipmentInfo {
@Field(type = FieldType.Integer, name = "DATA_QUALITY_SCORE") @Field(type = FieldType.Integer, name = "DATA_QUALITY_SCORE")
private Integer dataQualityScore; private Integer dataQualityScore;
/**
* 设计单位统一信用代码
*/
@Field(type = FieldType.Keyword) @Field(type = FieldType.Keyword)
private String designUnitCreditCode; private String designUnitCreditCode;
/**
* 设计单位名称
*/
@Field(type = FieldType.Text) @Field(type = FieldType.Text)
private String designUnitName; private String designUnitName;
......
...@@ -10,6 +10,9 @@ import org.springframework.data.elasticsearch.annotations.FieldType; ...@@ -10,6 +10,9 @@ import org.springframework.data.elasticsearch.annotations.FieldType;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
/**
* 企业
*/
@Data @Data
@Document(indexName = "idx_biz_enterprise_info") @Document(indexName = "idx_biz_enterprise_info")
public class EsBaseEnterpriseInfo { public class EsBaseEnterpriseInfo {
......
...@@ -10,6 +10,9 @@ import org.springframework.data.elasticsearch.annotations.FieldType; ...@@ -10,6 +10,9 @@ import org.springframework.data.elasticsearch.annotations.FieldType;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
/**
* 人员
*/
@Data @Data
@Document(indexName = "idx_biz_user_info") @Document(indexName = "idx_biz_user_info")
public class EsUserInfo { public class EsUserInfo {
...@@ -120,6 +123,12 @@ public class EsUserInfo { ...@@ -120,6 +123,12 @@ public class EsUserInfo {
private String unitCode; private String unitCode;
/** /**
* 人员所属企业单位类型
*/
@Field(type = FieldType.Keyword)
private String unitType;
/**
* 头像 * 头像
*/ */
@Field(type = FieldType.Keyword) @Field(type = FieldType.Keyword)
......
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