From 1b13c69e4e2bb00bea4e90232a78715d49f1e24f Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期五, 01 四月 2022 13:38:14 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/StaDescMapper.xml | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/StaDescMapper.xml b/src/main/resources/mapper/StaDescMapper.xml
index b3bde73..ab8b4c6 100644
--- a/src/main/resources/mapper/StaDescMapper.xml
+++ b/src/main/resources/mapper/StaDescMapper.xml
@@ -19,4 +19,17 @@
</resultMap>
+ <select id="queryOutStaNosByLocNo" resultType="java.lang.Integer">
+ select
+ distinct asd.stn_no
+ from asr_sta_desc asd
+ left join asr_loc_mast alm on asd.crn_no = alm.crn_no
+ where 1=1
+ and alm.loc_no = #{locNo}
+ <if test="typeNo != null and typeNo !=''">
+ and asd.type_no = #{typeNo}
+ </if>
+
+ </select>
+
</mapper>
--
Gitblit v1.9.1