From 5b76d629eef02be2f8c7c8ccde13d02aee25e63b Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 18 九月 2024 16:17:54 +0800
Subject: [PATCH] 大屏优化
---
ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/CodeByAreaResult.java | 8 +++++++-
1 files changed, 7 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 6618159..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
@@ -1,6 +1,9 @@
package com.ycl.platform.domain.result.HK;
+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;
/**
* 鎸夊尯鍩熺粺璁$紪鐮佸紓甯歌澶囨垨鍗″彛
@@ -8,16 +11,19 @@
* @author gonghl
*/
@Data
-public class CodeByAreaResult {
+@Document(collection = "hk_code_by_area")
+public class CodeByAreaResult extends BaseResult {
/**
* 缁勭粐缂栧彿
*/
+ @TextIndexed
private String orgCode;
/**
* 缁勭粐鍚嶇О
*/
+ @TextIndexed
private String orgName;
/**
--
Gitblit v1.8.0