黔送云数据拉取外勤状态添加

This commit is contained in:
fl 2025-02-20 20:12:55 +08:00
parent 50c07bc162
commit e969b1ccc8
2 changed files with 5 additions and 1 deletions

View File

@ -247,7 +247,10 @@ public class AttCalServiceImpl implements AttCalService {
//日报表查询
List<AttDayReportBean> dayReportList = attSourceDataDao.selectAttDayReport(pushDate);
//日报表新增
attSourceDataDao.insertAttDayReport(dayReportList);
if(!dayReportList.isEmpty()){
attSourceDataDao.insertAttDayReport(dayReportList);
}
}
/**

View File

@ -260,6 +260,7 @@
'0' as attAddress,
lon as attLon,
lat as attLat,
IF(attendance_external = '外勤打卡',1,2) as isOutsideAtt,
'1' as dataSource
from gz_cloud.fc_sup_attendance sup
where sup.attendance_date = #{pushDate}