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
4af7a839
Commit
4af7a839
authored
Jan 18, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat : 修复专家状态改造doctorid null问题
parent
6b02b248
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
config.gradle
config.gradle
+2
-2
YDLMessageFragment.java
m-im/src/main/java/com/yidianling/uikit/business/session/fragment/YDLMessageFragment.java
+10
-3
No files found.
config.gradle
View file @
4af7a839
...
...
@@ -10,7 +10,7 @@ ext {
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.61.93"
,
"m-home"
:
"0.0.22.84"
,
"m-im"
:
"0.0.20.8
8
"
,
"m-im"
:
"0.0.20.8
9
"
,
"m-dynamic"
:
"0.0.7.35"
,
"m-article"
:
"0.0.0.10"
,
...
...
@@ -93,7 +93,7 @@ ext {
"m-fm"
:
"0.0.30.07"
,
"m-user"
:
"0.0.61.93"
,
"m-home"
:
"0.0.22.83"
,
"m-im"
:
"0.0.20.8
8
"
,
"m-im"
:
"0.0.20.8
9
"
,
"m-dynamic"
:
"0.0.7.35"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-im/src/main/java/com/yidianling/uikit/business/session/fragment/YDLMessageFragment.java
View file @
4af7a839
...
...
@@ -398,14 +398,17 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
//初始化私聊页面配置
initDefaultConfig
();
// 获取专家是否在繁忙状态
ServiceImpl
.
Companion
.
getInstance
().
queryDoctorIsBusy
(
ActionHandlerStorage
.
getL
(
sessionId
).
getInfo
().
doctorId
)
if
(
ActionHandlerStorage
.
getL
(
sessionId
).
getInfo
().
doctorId
!=
null
){
// 获取专家是否在繁忙状态
ServiceImpl
.
Companion
.
getInstance
().
queryDoctorIsBusy
(
ActionHandlerStorage
.
getL
(
sessionId
).
getInfo
().
doctorId
)
.
subscribeOn
(
Schedulers
.
io
())
.
observeOn
(
AndroidSchedulers
.
mainThread
())
.
subscribe
(
res
->
{
isBusy
=
res
.
data
.
getSuccess
();
},
throwable
->
{
});
}
}
@SuppressLint
(
"CheckResult"
)
...
...
@@ -475,7 +478,7 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
}
}
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
}
...
...
@@ -492,21 +495,25 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
String
year
=
bean
.
getContent
();
userInfoDialogAge
=
Calendar
.
getInstance
().
get
(
Calendar
.
YEAR
)
-
Integer
.
valueOf
(
year
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
else
if
(
TextUtils
.
equals
(
bean
.
getUserInfoType
(),
"gener"
))
{
try
{
userInfoDialogSex
=
bean
.
getContent
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
else
if
(
TextUtils
.
equals
(
bean
.
getUserInfoType
(),
"questionType"
))
{
try
{
userInfoDialogConsultType
=
bean
.
getContent
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
else
if
(
TextUtils
.
equals
(
bean
.
getUserInfoType
(),
"questionContent"
))
{
try
{
userInfoDialogQuestionDes
=
bean
.
getContent
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
}
...
...
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