From 6a7b8832aadccd2930ccf9b4e09890b78887e65e Mon Sep 17 00:00:00 2001
From: qlsxk <qlsxk@qq.com>
Date: 星期四, 16 十月 2025 14:34:22 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/StaDescMapper.xml | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/StaDescMapper.xml b/src/main/resources/mapper/StaDescMapper.xml
index b3bde73..899cf1e 100644
--- a/src/main/resources/mapper/StaDescMapper.xml
+++ b/src/main/resources/mapper/StaDescMapper.xml
@@ -19,4 +19,21 @@
</resultMap>
+ <select id="queryOutStaNosByLocNo" resultType="integer">
+ select
+ distinct asd.stn_no
+ from asr_sta_desc asd
+ where 1=1
+ <if test="typeNo != null and typeNo !=''">
+ and asd.type_no = #{typeNo}
+ </if>
+ </select>
+
+ <select id="queryCrnStn" resultMap="BaseResultMap">
+ select top 1 * from asr_sta_desc
+ where 1=1
+ and crn_no = #{crnNo}
+ and type_no = 1
+ </select>
+
</mapper>
--
Gitblit v1.9.1