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
3a89643c
Commit
3a89643c
authored
Sep 11, 2020
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日程查询接口长期固定日期判断,sql映射问题修复
parent
00be0180
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
yd-api/src/main/java/com/yd/api/practitioner/service/impl/ScheduleTrackServiceImpl.java
+7
-7
yd-api/src/main/resources/mapper/marketing/ScheduleTrackMapper.xml
+2
-2
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/ScheduleTrackServiceImpl.java
View file @
3a89643c
...
...
@@ -165,25 +165,25 @@ public class ScheduleTrackServiceImpl implements ScheduleTrackService {
String
trackTime
=
CommonUtil
.
dateParseString
(
track
.
getTrackTime
(),
"yyyy-MM-dd"
);
int
flag
=
0
;
switch
(
week
)
{
case
"
周一
"
:
case
"
1
"
:
flag
=
track
.
getTaskRoutineAtweek1
();
break
;
case
"
周二
"
:
case
"
2
"
:
flag
=
track
.
getTaskRoutineAtweek2
();
break
;
case
"
周三
"
:
case
"
3
"
:
flag
=
track
.
getTaskRoutineAtweek3
();
break
;
case
"
周四
"
:
case
"
4
"
:
flag
=
track
.
getTaskRoutineAtweek4
();
break
;
case
"
周五
"
:
case
"
5
"
:
flag
=
track
.
getTaskRoutineAtweek5
();
break
;
case
"
周六
"
:
case
"
6
"
:
flag
=
track
.
getTaskRoutineAtweek6
();
break
;
case
"
周日
"
:
case
"
0
"
:
flag
=
track
.
getTaskRoutineAtweek7
();
break
;
default
:
...
...
yd-api/src/main/resources/mapper/marketing/ScheduleTrackMapper.xml
View file @
3a89643c
...
...
@@ -9,8 +9,8 @@
<result
column=
"refer_potential_id"
jdbcType=
"BIGINT"
property=
"referPotentialId"
/>
<result
column=
"task_important_tag"
jdbcType=
"INTEGER"
property=
"taskImportantTag"
/>
<result
column=
"task_routine_at_week7"
jdbcType=
"INTEGER"
property=
"taskRoutineAtweek7"
/>
<result
column=
"task_routine_at_week
5
"
jdbcType=
"INTEGER"
property=
"taskRoutineAtweek6"
/>
<result
column=
"task_routine_at_week
4
"
jdbcType=
"INTEGER"
property=
"taskRoutineAtweek5"
/>
<result
column=
"task_routine_at_week
6
"
jdbcType=
"INTEGER"
property=
"taskRoutineAtweek6"
/>
<result
column=
"task_routine_at_week
5
"
jdbcType=
"INTEGER"
property=
"taskRoutineAtweek5"
/>
<result
column=
"task_routine_at_week4"
jdbcType=
"INTEGER"
property=
"taskRoutineAtweek4"
/>
<result
column=
"task_routine_at_week3"
jdbcType=
"INTEGER"
property=
"taskRoutineAtweek3"
/>
<result
column=
"task_routine_at_week2"
jdbcType=
"INTEGER"
property=
"taskRoutineAtweek2"
/>
...
...
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