From 26b18a7699c443685a7ffb38f8c6843110389aa8 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 30 九月 2026 16:17:25 +0800
Subject: [PATCH] feat(migration): 按 dev_新疆_新聚 重新对齐 basic/performance/inspect 三模块

---
 performance-server/src/main/resources/mapper/AuxiliaryWorkingHoursMapper.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/performance-server/src/main/resources/mapper/AuxiliaryWorkingHoursMapper.xml b/performance-server/src/main/resources/mapper/AuxiliaryWorkingHoursMapper.xml
index 0c4fd2c..1ff785f 100644
--- a/performance-server/src/main/resources/mapper/AuxiliaryWorkingHoursMapper.xml
+++ b/performance-server/src/main/resources/mapper/AuxiliaryWorkingHoursMapper.xml
@@ -35,4 +35,13 @@
           ${ew.customSqlSegment}
       </if>
   </select>
+
+  <select id="hourDayBindAuxiliaryCount">
+      SELECT
+          COUNT(*)
+      FROM
+          auxiliary_working_hours_day T1
+              LEFT JOIN auxiliary_working_hours T2 ON T1.number = T2.number
+      WHERE T2.id = #{auxiliaryWorkingHoursId}
+  </select>
 </mapper>

--
Gitblit v1.9.3