From b1c6c32fdcee89f97c05bd21f4fb0b95f4009764 Mon Sep 17 00:00:00 2001 From: yaowanxin <3588231647@qq.com> Date: 星期六, 19 七月 2025 10:18:26 +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