Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
9bc9e5b7
Commit
9bc9e5b7
authored
Sep 24, 2020
by
jianan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_20200908_PEP_Statistics' into dev
parents
738cd597
1fb764ed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
yd-api/src/main/java/com/yd/api/practitioner/service/impl/ScheduleTrackServiceImpl.java
+6
-6
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/ScheduleTrackServiceImpl.java
View file @
9bc9e5b7
...
...
@@ -542,22 +542,22 @@ public class ScheduleTrackServiceImpl implements ScheduleTrackService {
if
(
Integer
.
valueOf
(
1
).
equals
(
s
.
getTaskRoutineAtweek1
()))
{
count
+=
CommonUtil
.
weekDayCount
(
firstDay
,
lastDay
,
1
);
}
if
(
Integer
.
valueOf
(
2
).
equals
(
s
.
getTaskRoutineAtweek1
()))
{
if
(
Integer
.
valueOf
(
1
).
equals
(
s
.
getTaskRoutineAtweek2
()))
{
count
+=
CommonUtil
.
weekDayCount
(
firstDay
,
lastDay
,
2
);
}
if
(
Integer
.
valueOf
(
3
).
equals
(
s
.
getTaskRoutineAtweek1
()))
{
if
(
Integer
.
valueOf
(
1
).
equals
(
s
.
getTaskRoutineAtweek3
()))
{
count
+=
CommonUtil
.
weekDayCount
(
firstDay
,
lastDay
,
3
);
}
if
(
Integer
.
valueOf
(
4
).
equals
(
s
.
getTaskRoutineAtweek1
()))
{
if
(
Integer
.
valueOf
(
1
).
equals
(
s
.
getTaskRoutineAtweek4
()))
{
count
+=
CommonUtil
.
weekDayCount
(
firstDay
,
lastDay
,
4
);
}
if
(
Integer
.
valueOf
(
5
).
equals
(
s
.
getTaskRoutineAtweek1
()))
{
if
(
Integer
.
valueOf
(
1
).
equals
(
s
.
getTaskRoutineAtweek5
()))
{
count
+=
CommonUtil
.
weekDayCount
(
firstDay
,
lastDay
,
5
);
}
if
(
Integer
.
valueOf
(
6
).
equals
(
s
.
getTaskRoutineAtweek1
()))
{
if
(
Integer
.
valueOf
(
1
).
equals
(
s
.
getTaskRoutineAtweek6
()))
{
count
+=
CommonUtil
.
weekDayCount
(
firstDay
,
lastDay
,
6
);
}
if
(
Integer
.
valueOf
(
7
).
equals
(
s
.
getTaskRoutineAtweek1
()))
{
if
(
Integer
.
valueOf
(
1
).
equals
(
s
.
getTaskRoutineAtweek7
()))
{
count
+=
CommonUtil
.
weekDayCount
(
firstDay
,
lastDay
,
7
);
}
// 判断trackTime是否在时间范围内
...
...
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