From ca42a5047cb15ae63035f15a971a8e1ec858851f Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期三, 20 十二月 2023 16:24:04 +0800
Subject: [PATCH] #
---
 src/main/resources/mapper/StaDescMapper.xml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/StaDescMapper.xml b/src/main/resources/mapper/StaDescMapper.xml
index 6bbea2d..92209c8 100644
--- a/src/main/resources/mapper/StaDescMapper.xml
+++ b/src/main/resources/mapper/StaDescMapper.xml
@@ -19,6 +19,7 @@
 
     </resultMap>
 
+    <!-- todo:luxiaotao  asd.crn_no = alm.crn_no -->
     <select id="queryOutStaNosByLocNo" resultType="java.lang.Integer">
         select
         distinct asd.stn_no
@@ -31,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