Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
0f00af89
Commit
0f00af89
authored
May 30, 2022
by
upwork.021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 参数修改,组件升级
parent
6d9ec015
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
config.gradle
config.gradle
+2
-2
ExpertSearchPresenter.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchPresenter.kt
+14
-6
No files found.
config.gradle
View file @
0f00af89
...
...
@@ -6,7 +6,7 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.49.72"
,
"m-consultant"
:
"0.0.60.3
0
"
,
"m-consultant"
:
"0.0.60.3
1
"
,
"m-fm"
:
"0.0.30.08"
,
"m-user"
:
"0.0.62.04"
,
"m-home"
:
"0.0.23.44"
,
...
...
@@ -92,7 +92,7 @@ ext {
//第三步 若干
"m-confide"
:
"0.0.49.72"
,
"m-consultant"
:
"0.0.60.3
0
"
,
"m-consultant"
:
"0.0.60.3
1
"
,
"m-fm"
:
"0.0.30.08"
,
"m-user"
:
"0.0.62.04"
,
"m-home"
:
"0.0.23.41"
,
...
...
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchPresenter.kt
View file @
0f00af89
...
...
@@ -56,17 +56,25 @@ class ExpertSearchPresenter : SimplePresenter<IExpertSearchView>() {
if
(!
TextUtils
.
isEmpty
(
allFilter
.
searchWord
)){
filterMap
[
"__keywords"
]
=
allFilter
.
searchWord
}
val
categoryList
=
ArrayList
<
Any
>()
// 八大类一级标签
if
(
allFilter
.
categoryId2List
.
isNotEmpty
()){
val
categoryIdMap
=
HashMap
<
String
,
Any
>()
categoryIdMap
[
"in"
]
=
allFilter
.
categoryId2List
filterMap
[
"product_cates.category_id2"
]
=
categoryIdMap
val
categoryMap2
=
HashMap
<
String
,
Any
>()
val
categoryIdMap2
=
HashMap
<
String
,
Any
>()
categoryIdMap2
[
"in"
]
=
allFilter
.
categoryId2List
categoryMap2
[
"product_cates.category_id3"
]
=
categoryIdMap2
categoryList
.
add
(
categoryMap2
)
}
// 八大类二级标签
if
(
allFilter
.
categoryId3List
.
isNotEmpty
()){
val
categoryIdMap
=
HashMap
<
String
,
Any
>()
categoryIdMap
[
"in"
]
=
allFilter
.
categoryId3List
filterMap
[
"product_cates.category_id3"
]
=
categoryIdMap
val
categoryMap3
=
HashMap
<
String
,
Any
>()
val
categoryIdMap3
=
HashMap
<
String
,
Any
>()
categoryIdMap3
[
"in"
]
=
allFilter
.
categoryId3List
categoryMap3
[
"product_cates.category_id3"
]
=
categoryIdMap3
categoryList
.
add
(
categoryMap3
)
}
if
(
categoryList
.
size
>
0
){
filterMap
[
"__or"
]
=
categoryList
}
// 主题
if
(
allFilter
.
categories
.
isNotEmpty
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment