Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-data-cloud
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
base_platform_enterprise
gic-data-cloud
Commits
169db4b6
Commit
169db4b6
authored
Sep 04, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
线上权限调整
parent
36b41140
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
IndexController.java
...in/java/com/gic/cloud/web/controller/IndexController.java
+3
-2
No files found.
gic-data-cloud-wxapp/src/main/java/com/gic/cloud/web/controller/IndexController.java
View file @
169db4b6
...
@@ -112,8 +112,9 @@ public class IndexController {
...
@@ -112,8 +112,9 @@ public class IndexController {
if
(
birthOrderCnt
.
isSuccess
()
&&
birthOrderCnt
.
getResult
()
!=
null
){
if
(
birthOrderCnt
.
isSuccess
()
&&
birthOrderCnt
.
getResult
()
!=
null
){
IndexMemberBirthCntDTO
birthOrderCntResult
=
birthOrderCnt
.
getResult
();
IndexMemberBirthCntDTO
birthOrderCntResult
=
birthOrderCnt
.
getResult
();
consume
.
setBirthRate
(
DataFormatUtils
.
rate
(
birthOrderCntResult
.
getBirthCnt
(),
birthOrderCntResult
.
getAllCnt
()));
consume
.
setBirthRate
(
DataFormatUtils
.
rate
(
birthOrderCntResult
.
getBirthCnt
(),
birthOrderCntResult
.
getAllCnt
()));
consume
.
setBirthHb
(
DataFormatUtils
.
divide
(
DataFormatUtils
.
divideDouble
(
birthOrderCntResult
.
getBirthCnt
(),
birthOrderCntResult
.
getBirthCntHb
()),
Double
birthRate
=
DataFormatUtils
.
rateDouble
(
birthOrderCntResult
.
getBirthCnt
(),
birthOrderCntResult
.
getAllCnt
());
DataFormatUtils
.
divideDouble
(
birthOrderCntResult
.
getAllCnt
(),
birthOrderCntResult
.
getBirthCntHb
())));
Double
bhRate
=
DataFormatUtils
.
rateDouble
(
birthOrderCntResult
.
getBirthCntHb
(),
birthOrderCntResult
.
getAllCntHb
());
consume
.
setBirthHb
(
DataFormatUtils
.
divide
(
birthRate
,
bhRate
));
}
}
return
RestResponse
.
success
(
consume
);
return
RestResponse
.
success
(
consume
);
}
}
...
...
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