Commit 4adfa33c07fd972e9a87a7cad83a8cb0ff7498c9
1 parent
6e3b4f1564
Exists in
master
and in
8 other branches
c
Showing 5 changed files with 25 additions and 25 deletions
- platform-common/src/main/java/com/lyms/platform/common/base/IConvertToNativeQuery.java
- platform-common/src/main/java/com/lyms/platform/common/base/IConvertToNaviteQuery.java
- platform-dal/src/main/java/com/lyms/platform/query/BasicConfigQuery.java
- platform-dal/src/main/java/com/lyms/platform/query/CommunityModelQuery.java
- platform-dal/src/main/java/com/lyms/platform/query/PuerperaModelQuery.java
platform-common/src/main/java/com/lyms/platform/common/base/IConvertToNativeQuery.java
View file @
4adfa33
1 | +package com.lyms.platform.common.base; | |
2 | + | |
3 | +import com.lyms.platform.common.dao.operator.MongoQuery; | |
4 | + | |
5 | +/** | |
6 | + * | |
7 | + * 转换成可执行的查询对象 | |
8 | + * | |
9 | + * @author Administrator | |
10 | + * | |
11 | + */ | |
12 | +public interface IConvertToNativeQuery { | |
13 | + | |
14 | + /** | |
15 | + * | |
16 | + * @return | |
17 | + */ | |
18 | + MongoQuery convertToQuery(); | |
19 | +} |
platform-common/src/main/java/com/lyms/platform/common/base/IConvertToNaviteQuery.java
View file @
4adfa33
1 | -package com.lyms.platform.common.base; | |
2 | - | |
3 | -import com.lyms.platform.common.dao.operator.MongoQuery; | |
4 | - | |
5 | -/** | |
6 | - * | |
7 | - * 转换成可执行的查询对象 | |
8 | - * | |
9 | - * @author Administrator | |
10 | - * | |
11 | - */ | |
12 | -public interface IConvertToNaviteQuery { | |
13 | - | |
14 | - /** | |
15 | - * | |
16 | - * @return | |
17 | - */ | |
18 | - MongoQuery convertToQuery(); | |
19 | -} |
platform-dal/src/main/java/com/lyms/platform/query/BasicConfigQuery.java
View file @
4adfa33
1 | 1 | package com.lyms.platform.query; |
2 | 2 | |
3 | -import com.lyms.platform.common.base.IConvertToNaviteQuery; | |
3 | +import com.lyms.platform.common.base.IConvertToNativeQuery; | |
4 | 4 | import com.lyms.platform.common.dao.BaseQuery; |
5 | 5 | import com.lyms.platform.common.dao.operator.MongoCondition; |
6 | 6 | import com.lyms.platform.common.dao.operator.MongoOper; |
7 | 7 | import com.lyms.platform.common.dao.operator.MongoQuery; |
8 | 8 | |
9 | -public class BasicConfigQuery extends BaseQuery implements IConvertToNaviteQuery { | |
9 | +public class BasicConfigQuery extends BaseQuery implements IConvertToNativeQuery { | |
10 | 10 | |
11 | 11 | private String id; |
12 | 12 |
platform-dal/src/main/java/com/lyms/platform/query/CommunityModelQuery.java
View file @
4adfa33
1 | 1 | package com.lyms.platform.query; |
2 | 2 | |
3 | -import com.lyms.platform.common.base.IConvertToNaviteQuery; | |
3 | +import com.lyms.platform.common.base.IConvertToNativeQuery; | |
4 | 4 | import com.lyms.platform.common.dao.BaseQuery; |
5 | 5 | import com.lyms.platform.common.dao.operator.MongoQuery; |
6 | 6 | |
... | ... | @@ -9,7 +9,7 @@ |
9 | 9 | * |
10 | 10 | * @author Administrator |
11 | 11 | */ |
12 | -public class CommunityModelQuery extends BaseQuery implements IConvertToNaviteQuery{ | |
12 | +public class CommunityModelQuery extends BaseQuery implements IConvertToNativeQuery{ | |
13 | 13 | |
14 | 14 | |
15 | 15 | private String id; |
platform-dal/src/main/java/com/lyms/platform/query/PuerperaModelQuery.java
View file @
4adfa33
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | |
5 | 5 | import org.springframework.data.mongodb.core.query.Criteria; |
6 | 6 | |
7 | -import com.lyms.platform.common.base.IConvertToNaviteQuery; | |
7 | +import com.lyms.platform.common.base.IConvertToNativeQuery; | |
8 | 8 | import com.lyms.platform.common.dao.BaseQuery; |
9 | 9 | import com.lyms.platform.common.dao.operator.MongoCondition; |
10 | 10 | import com.lyms.platform.common.dao.operator.MongoOper; |
... | ... | @@ -17,7 +17,7 @@ |
17 | 17 | * @author Administrator |
18 | 18 | * |
19 | 19 | */ |
20 | -public class PuerperaModelQuery extends BaseQuery implements IConvertToNaviteQuery{ | |
20 | +public class PuerperaModelQuery extends BaseQuery implements IConvertToNativeQuery{ | |
21 | 21 | |
22 | 22 | /** |
23 | 23 | * 关键字 |