Commit d52e2363 by lalqqhy

提交

parent 128e78d4
...@@ -92,8 +92,8 @@ public class AttendanceTaskTiming{ ...@@ -92,8 +92,8 @@ public class AttendanceTaskTiming{
// @Scheduled(cron = "0 */2 * * * ?") // @Scheduled(cron = "0 */2 * * * ?")
// @Scheduled(cron = "0 0 8,12,16,20 * * ?")//每天上午8、12点,下午16点,20点 执行 @Scheduled(cron = "0 0 8,12,16,20 * * ?")//每天上午8、12点,下午16点,20点 执行
@Scheduled(cron = "0 0 6,20 * * ?") // @Scheduled(cron = "0 0 6,20 * * ?")
public void AttendanceTask() throws ParseException { public void AttendanceTask() throws ParseException {
boolean implement = true; boolean implement = true;
......
...@@ -77,7 +77,7 @@ public class LastMonthtimingExport { ...@@ -77,7 +77,7 @@ public class LastMonthtimingExport {
@Autowired @Autowired
private ScheduleMapper schedulemapper; private ScheduleMapper schedulemapper;
static SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd"); static SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd");
static SimpleDateFormat sdf2 = new SimpleDateFormat("EEE"); static SimpleDateFormat sdf2 = new SimpleDateFormat("EEE",Locale.CHINA);
@Autowired @Autowired
private KqglAssoRelationSummaryMapper kqglassorelationsummarymapper; private KqglAssoRelationSummaryMapper kqglassorelationsummarymapper;
......
...@@ -63,7 +63,7 @@ import cn.timer.api.utils.DateUtil; ...@@ -63,7 +63,7 @@ import cn.timer.api.utils.DateUtil;
public class RealTimeUpdate{ public class RealTimeUpdate{
static SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd"); static SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd");
static SimpleDateFormat sdf2 = new SimpleDateFormat("EEE"); static SimpleDateFormat sdf2 = new SimpleDateFormat("EEE",Locale.CHINA);
static String tablename = null; static String tablename = null;
@Autowired @Autowired
......
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