From c2fa05e374856644788e7604daab44de16a5ae65 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 08 十二月 2022 15:16:44 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/StaDescMapper.xml | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/StaDescMapper.xml b/src/main/resources/mapper/StaDescMapper.xml
index ab8b4c6..97d9e7c 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
@@ -29,7 +30,13 @@
<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