From 8f101c80208bf1d5aaa4892bd26102d1f10ff2bd Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期五, 16 十月 2026 14:23:35 +0800
Subject: [PATCH] 修复设备模块导出报 TemplateRenderPolicy render error (500):签名图片缺失时用透明图兜底
---
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