From be895c76637a86f6d05739bda32e2b72f174e7a9 Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期一, 31 三月 2025 17:50:15 +0800 Subject: [PATCH] 标准库功能开发 --- 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