From b14531e3b850fe6d2fa916ba7b88b3e2bd2ff30a Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 11 九月 2024 16:47:48 +0800
Subject: [PATCH] OSD加标签

---
 ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/CodeByAreaResult.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/CodeByAreaResult.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/CodeByAreaResult.java
index f87a3e9..6fd707e 100644
--- a/ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/CodeByAreaResult.java
+++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/CodeByAreaResult.java
@@ -2,6 +2,7 @@
 
 import com.ycl.platform.domain.result.BaseResult;
 import lombok.Data;
+import org.springframework.data.mongodb.core.index.TextIndexed;
 import org.springframework.data.mongodb.core.mapping.Document;
 
 /**
@@ -10,17 +11,19 @@
  * @author gonghl
  */
 @Data
-@Document(collection = "code_by_area")
+@Document(collection = "hk_code_by_area")
 public class CodeByAreaResult extends BaseResult {
 
     /**
      * 缁勭粐缂栧彿
      */
+    @TextIndexed
     private String orgCode;
 
     /**
      * 缁勭粐鍚嶇О
      */
+    @TextIndexed
     private String orgName;
 
     /**

--
Gitblit v1.8.0