From 519879ccc3b1873a4a6a94757d842b7e422c0e2d Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 17 三月 2026 11:14:22 +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