|
@@ -279,8 +279,8 @@ public class TimingTask {
|
|
//每天2:11 同步泛微用户前2天到未来30天时间段的打卡,请假,出差数据
|
|
//每天2:11 同步泛微用户前2天到未来30天时间段的打卡,请假,出差数据
|
|
@Scheduled(cron = "0 11 2 ? * *")
|
|
@Scheduled(cron = "0 11 2 ? * *")
|
|
private void synFanWeiWorkData() {
|
|
private void synFanWeiWorkData() {
|
|
- /*if (isDev) return;
|
|
|
|
- if(!isPrivateDeploy) return;*/
|
|
|
|
|
|
+ if (isDev) return;
|
|
|
|
+ if(!isPrivateDeploy) return;
|
|
List<TimeType> timeTypeList = timeTypeMapper.selectList(new QueryWrapper<TimeType>().eq("sync_fanwei", 1));
|
|
List<TimeType> timeTypeList = timeTypeMapper.selectList(new QueryWrapper<TimeType>().eq("sync_fanwei", 1));
|
|
List<Integer> compIds = timeTypeList.stream().map(TimeType::getCompanyId).collect(Collectors.toList());
|
|
List<Integer> compIds = timeTypeList.stream().map(TimeType::getCompanyId).collect(Collectors.toList());
|
|
if(compIds.isEmpty()){
|
|
if(compIds.isEmpty()){
|