修改假期,节假日定时器

This commit is contained in:
史宗金 2025-01-22 09:08:03 +08:00
parent 61935d5704
commit b6e499c4d0
2 changed files with 3 additions and 3 deletions

View File

@ -147,7 +147,7 @@
attendance_date as attCurrentDay, attendance_time as attCurrentTime, attendance_date as attCurrentDay, attendance_time as attCurrentTime,
CASE attendance_type WHEN '上班' THEN 1 ELSE 2 END as attType, CASE attendance_type WHEN '上班' THEN 1 ELSE 2 END as attType,
'0' as attAddress, lon as attLon, lat as attLat, '1' as dataSource '0' as attAddress, lon as attLon, lat as attLat, '1' as dataSource
from gz_cloud_test.fc_sup_attendance sup from gz_cloud.fc_sup_attendance sup
where sup.attendance_date where sup.attendance_date
<if test=' pushType == "1" '> <if test=' pushType == "1" '>
>= #{pushDate} >= #{pushDate}

View File

@ -65,7 +65,7 @@
<insert id="pushAttDataToQsy"> <insert id="pushAttDataToQsy">
<foreach collection="list" item="item" separator=";"> <foreach collection="list" item="item" separator=";">
replace INTO gz_cloud_test.fc_sup_attendance ( replace INTO gz_cloud.fc_sup_attendance (
name, name,
id_number, id_number,
org_id, org_id,
@ -193,7 +193,7 @@
If(PROJECT_ID is null,0,PROJECT_ID) AS proId, If(PROJECT_ID is null,0,PROJECT_ID) AS proId,
If(ORG_ID is null,0,ORG_ID) AS orgId If(ORG_ID is null,0,ORG_ID) AS orgId
FROM FROM
gz_cloud_test.bm_sup_attend_history gz_cloud.bm_sup_attend_history
WHERE WHERE
ID_NUMBER = #{idNumber} ID_NUMBER = #{idNumber}
limit 1 limit 1