|
@@ -149,7 +149,7 @@
|
|
|
update sap_check_report
|
|
|
set realResultRemark = concat((
|
|
|
case when realCheckinDate = '' then '上班未打卡,'
|
|
|
- when realCheckinDate > concat(checkinDay,' ', workTime, ':00') then '迟到,'
|
|
|
+ when realCheckinDate > concat(checkinDay,' 0', workTime, ':00') then '迟到,'
|
|
|
else ''
|
|
|
end
|
|
|
),(
|
|
@@ -175,7 +175,7 @@
|
|
|
update sap_check_report
|
|
|
set workMins = (
|
|
|
case when realCheckinDate != '' and realCheckoffDate != ''
|
|
|
- then ROUND((unix_timestamp(realCheckoffDate)-unix_timestamp(realCheckinDate))/60,0)
|
|
|
+ then ROUND((unix_timestamp(realCheckoffDate) - unix_timestamp(realCheckinDate))/60,0)
|
|
|
else ''
|
|
|
end
|
|
|
)
|