From 32ddd9d13c53dd7fe5a09120ca59b29e61afc0cc Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期四, 03 四月 2025 16:24:08 +0800
Subject: [PATCH] 标准库中新增区间后,保存提示报错修改

---
 basic-server/src/main/resources/mapper/StandardTemplateMapper.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/basic-server/src/main/resources/mapper/StandardTemplateMapper.xml b/basic-server/src/main/resources/mapper/StandardTemplateMapper.xml
index 34a8b0e..dbf9d94 100644
--- a/basic-server/src/main/resources/mapper/StandardTemplateMapper.xml
+++ b/basic-server/src/main/resources/mapper/StandardTemplateMapper.xml
@@ -36,5 +36,9 @@
         WHERE id = #{templateId}
     </select>
 
+    <select id="countBindTemplateItemParameter">
+        SELECT COUNT(*) FROM structure_item_parameter WHERE template_id = #{templateId}
+    </select>
+
 
 </mapper>

--
Gitblit v1.9.3