Commit 3a89643c by jianan

日程查询接口长期固定日期判断,sql映射问题修复

parent 00be0180
......@@ -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:
......
......@@ -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_week5" jdbcType="INTEGER" property="taskRoutineAtweek6"/>
<result column="task_routine_at_week4" jdbcType="INTEGER" property="taskRoutineAtweek5"/>
<result column="task_routine_at_week6" jdbcType="INTEGER" property="taskRoutineAtweek6"/>
<result column="task_routine_at_week5" 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"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment