From 002f10f7d38dc6791d26a69d061e6b17f9980fd0 Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期一, 24 三月 2025 19:41:36 +0800
Subject: [PATCH] 1

---
 src/main/resources/mapper/StaDescMapper.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/StaDescMapper.xml b/src/main/resources/mapper/StaDescMapper.xml
index 97d9e7c..92209c8 100644
--- a/src/main/resources/mapper/StaDescMapper.xml
+++ b/src/main/resources/mapper/StaDescMapper.xml
@@ -32,6 +32,15 @@
         </if>
     </select>
 
+    <select id="queryOutStaNosByCrnNo" resultType="java.lang.Integer">
+        select
+        distinct asd.stn_no
+        from asr_sta_desc asd
+        where 1=1
+        and asd.crn_no = #{crnNo}
+        and asd.type_no = #{typeNo}
+    </select>
+
     <select id="queryCrnStn" resultMap="BaseResultMap">
         select top 1 * from asr_sta_desc
         where 1=1

--
Gitblit v1.9.1