From 35d63c6a7be309a102a2d42f4648b9f4b887d319 Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期二, 30 七月 2024 19:19:28 +0800
Subject: [PATCH] 检验下单的分页查询展示的字段去掉下单人,然后制单人和委托人对应的数据反了

---
 performance-server/src/main/resources/mapper/AuxiliaryOutputWorkingHoursMapper.xml |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/performance-server/src/main/resources/mapper/AuxiliaryOutputWorkingHoursMapper.xml b/performance-server/src/main/resources/mapper/AuxiliaryOutputWorkingHoursMapper.xml
index 31958ad..532522c 100644
--- a/performance-server/src/main/resources/mapper/AuxiliaryOutputWorkingHoursMapper.xml
+++ b/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`

--
Gitblit v1.9.3