Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gogirl-miniapp-backend
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
huluobin
gogirl-miniapp-backend
Commits
12c1d688
Commit
12c1d688
authored
Apr 08, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成长数据数据完整度
parent
af0f9914
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Schedule.java
...ain/java/com/gogirl/infrastructure/schedule/Schedule.java
+3
-2
No files found.
src/main/java/com/gogirl/infrastructure/schedule/Schedule.java
View file @
12c1d688
...
...
@@ -57,6 +57,7 @@ import org.springframework.scheduling.annotation.Scheduled;
import
org.springframework.stereotype.Component
;
import
org.springframework.web.client.RestTemplate
;
import
java.math.BigDecimal
;
import
java.text.SimpleDateFormat
;
import
java.time.LocalDate
;
import
java.time.LocalDateTime
;
...
...
@@ -448,7 +449,7 @@ public class Schedule {
career
.
setMonthServeNum
(
monthAdminResult
.
getTotal_service_count
());
//信息录入完整度
career
.
setMonthInfoPercent
(
monthAdminResult
.
getAvg_data_integrity
());
career
.
setMonthInfoPercent
(
monthAdminResult
.
getAvg_data_integrity
()
.
divide
(
new
BigDecimal
(
100
),
2
,
BigDecimal
.
ROUND_HALF_UP
)
);
//总考勤准时率
career
.
setTotalAttendancePercent
(
null
);
...
...
@@ -460,7 +461,7 @@ public class Schedule {
career
.
setTotalBalanceCardNum
(
allAdminResult
.
getCard_count
());
//信息录入完整度
career
.
setTotalInfoPercent
(
allAdminResult
.
getAvg_data_integrity
());
career
.
setTotalInfoPercent
(
allAdminResult
.
getAvg_data_integrity
()
.
divide
(
new
BigDecimal
(
100
),
2
,
BigDecimal
.
ROUND_HALF_UP
)
);
//订单总数
Integer
totalOrderNum
=
careerMapper
.
queryTotalOrderNum
(
storeTechnician
.
getId
(),
month
);
...
...
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