黔送云数据拉取外勤状态添加
This commit is contained in:
parent
50c07bc162
commit
e969b1ccc8
|
|
@ -247,7 +247,10 @@ public class AttCalServiceImpl implements AttCalService {
|
||||||
//日报表查询
|
//日报表查询
|
||||||
List<AttDayReportBean> dayReportList = attSourceDataDao.selectAttDayReport(pushDate);
|
List<AttDayReportBean> dayReportList = attSourceDataDao.selectAttDayReport(pushDate);
|
||||||
//日报表新增
|
//日报表新增
|
||||||
attSourceDataDao.insertAttDayReport(dayReportList);
|
if(!dayReportList.isEmpty()){
|
||||||
|
attSourceDataDao.insertAttDayReport(dayReportList);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -260,6 +260,7 @@
|
||||||
'0' as attAddress,
|
'0' as attAddress,
|
||||||
lon as attLon,
|
lon as attLon,
|
||||||
lat as attLat,
|
lat as attLat,
|
||||||
|
IF(attendance_external = '外勤打卡',1,2) as isOutsideAtt,
|
||||||
'1' as dataSource
|
'1' as dataSource
|
||||||
from gz_cloud.fc_sup_attendance sup
|
from gz_cloud.fc_sup_attendance sup
|
||||||
where sup.attendance_date = #{pushDate}
|
where sup.attendance_date = #{pushDate}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue