Crunchy
2024-07-24 2bfebb31df25d8ddc0c5ccaff4bed91d87e1070b
performance-server/src/main/resources/mapper/AuxiliaryOutputWorkingHoursMapper.xml
@@ -39,7 +39,8 @@
        date_time,
        week,
        week_day,
        name
        name,
        sample
        FROM auxiliary_output_working_hours aowh
        left join user on user.id=aowh.`check`
        WHERE 1=1
@@ -76,7 +77,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`