Commit a6c17332 authored by 18310373984@163.com's avatar 18310373984@163.com

打卡列表修改

parent 8306e66c
......@@ -175,7 +175,8 @@
select resu.executionTime,sum(round((resu.srv_end_time-resu.srv_start_time)*24,1)) sumTime from
(SELECT distinct detail.TASK_DETAIL_ID,detail.srv_start_time,detail.srv_end_time,
to_char(detail.SRV_DATE, 'dd' ) executionTime
case when mode1.MODE_NAME='上门' then to_char(detail.SRV_START_TIME, 'dd' )
else to_char(detail.SRV_DATE, 'dd' ) end executionTime
FROM
CH_SRV_TASK_DETAIL detail
inner JOIN ch_srv_task task ON task.srv_task_id = detail.srv_task_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment