From 92442dca5ac89b58daa7129428cc72dcf001fb39 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期三, 24 七月 2024 15:22:47 +0800 Subject: [PATCH] 加班工时 --- performance-server/src/main/resources/mapper/AuxiliaryOutputWorkingHoursMapper.xml | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/performance-server/src/main/resources/mapper/AuxiliaryOutputWorkingHoursMapper.xml b/performance-server/src/main/resources/mapper/AuxiliaryOutputWorkingHoursMapper.xml index 31958ad..f319878 100644 --- a/performance-server/src/main/resources/mapper/AuxiliaryOutputWorkingHoursMapper.xml +++ b/performance-server/src/main/resources/mapper/AuxiliaryOutputWorkingHoursMapper.xml @@ -76,7 +76,8 @@ order_no, sample, man_hour_group, - output_work_time as manHours + case when #{type}='鍔犵彮宸ユ椂' then case when overtime_work_time is null then 0 else overtime_work_time end + else case when work_time is null then 0 else work_time end end as manHours -- FORMAT(SUM(output_work_time), 4) as manHours from auxiliary_output_working_hours aowh left join user on user.id=aowh.`check` -- Gitblit v1.9.3