Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
holmes
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
holmes
Commits
48807eb7
Commit
48807eb7
authored
Aug 26, 2021
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改Double转换
parent
fc13a61d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
LanzhouBankInterceptor.java
...java/cn/qg/holmes/interceptor/LanzhouBankInterceptor.java
+2
-2
No files found.
src/main/java/cn/qg/holmes/interceptor/LanzhouBankInterceptor.java
View file @
48807eb7
...
@@ -65,9 +65,9 @@ public class LanzhouBankInterceptor implements HandlerInterceptor {
...
@@ -65,9 +65,9 @@ public class LanzhouBankInterceptor implements HandlerInterceptor {
}
else
if
(
req
.
getTranscode
().
equals
(
"channel.common.querybusinessrate"
))
{
}
else
if
(
req
.
getTranscode
().
equals
(
"channel.common.querybusinessrate"
))
{
Double
businessrate
=
0.36
;
Double
businessrate
=
0.36
;
if
(
mock
.
getFlag
()
==
1
)
{
if
(
mock
.
getFlag
()
==
1
)
{
businessrate
=
(
Double
)
JSON
.
parseObject
(
mock
.
getSuccess
(),
Map
.
class
).
get
(
"businessrate"
);
businessrate
=
Double
.
parseDouble
(
JSON
.
parseObject
(
mock
.
getSuccess
(),
Map
.
class
).
get
(
"businessrate"
).
toString
()
);
}
else
if
(
mock
.
getFlag
()
==
0
)
{
}
else
if
(
mock
.
getFlag
()
==
0
)
{
businessrate
=
(
Double
)
JSON
.
parseObject
(
mock
.
getFail
(),
Map
.
class
).
get
(
"businessrate"
);
businessrate
=
Double
.
parseDouble
(
JSON
.
parseObject
(
mock
.
getFail
(),
Map
.
class
).
get
(
"businessrate"
).
toString
()
);
}
}
// 利率查询接口
// 利率查询接口
responseMap
.
put
(
"businessrate"
,
businessrate
);
responseMap
.
put
(
"businessrate"
,
businessrate
);
...
...
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