Browse Source

日常信息导入分析结果去重

master
583641232@qq.com 1 year ago
parent
commit
ef969e4124
  1. 6
      cas-system/src/main/java/com/inscloudtech/datacenter/domain/CollectionInformation.java

6
cas-system/src/main/java/com/inscloudtech/datacenter/domain/CollectionInformation.java

@ -39,6 +39,7 @@ public class CollectionInformation extends BaseEntity {
* 信息来源
*/
@UpdateValueLog(fieldName = "信息来源")
@DeduplicationField
@ExcelProperty("信息来源")
@IndexField(fieldType = FieldType.KEYWORD_TEXT, analyzer = "ngram_analyzer")
private String informationSources ;
@ -48,6 +49,7 @@ public class CollectionInformation extends BaseEntity {
* 主体名称
*/
@UpdateValueLog(fieldName = "主体名称")
@DeduplicationField
@ExcelProperty("主体名称")
@IndexField(fieldType = FieldType.KEYWORD_TEXT, analyzer = "ngram_analyzer")
private String name;
@ -68,6 +70,7 @@ public class CollectionInformation extends BaseEntity {
*/
@ExcelProperty("关系信息")
@UpdateValueLog(fieldName = "关系信息")
@DeduplicationField
@IndexField(fieldType = FieldType.KEYWORD_TEXT, analyzer = "ngram_analyzer")
private String relationInfo;
@ -77,6 +80,7 @@ public class CollectionInformation extends BaseEntity {
*/
@ExcelProperty("财产信息")
@UpdateValueLog(fieldName = "财产信息")
@DeduplicationField
@IndexField(fieldType = FieldType.KEYWORD_TEXT, analyzer = "ngram_analyzer")
private String assetsInfo;
@ -84,6 +88,7 @@ public class CollectionInformation extends BaseEntity {
* 行为信息
*/
@ExcelProperty("行为信息")
@DeduplicationField
@UpdateValueLog(fieldName = "行为信息")
@IndexField(fieldType = FieldType.KEYWORD_TEXT, analyzer = "ngram_analyzer")
private String actionInfo;
@ -93,6 +98,7 @@ public class CollectionInformation extends BaseEntity {
*/
@UpdateValueLog(fieldName = "其他事项")
@ExcelProperty("其他事项")
@DeduplicationField
@IndexField(fieldType = FieldType.KEYWORD_TEXT, analyzer = "ngram_analyzer")
@TableField(updateStrategy = FieldStrategy.IGNORED)
private String remark;

Loading…
Cancel
Save