From 9a67b09cf3085b5b38675d9d541628a1cb2bdbc2 Mon Sep 17 00:00:00 2001
From: TQS <56479841@qq.com>
Date: 星期二, 31 一月 2023 17:29:36 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/BasDevpMapper.xml | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/BasDevpMapper.xml b/src/main/resources/mapper/BasDevpMapper.xml
index b00be22..ba12642 100644
--- a/src/main/resources/mapper/BasDevpMapper.xml
+++ b/src/main/resources/mapper/BasDevpMapper.xml
@@ -66,4 +66,22 @@
group by abd.dev_no
</select>
+ <select id="selectByWrkNo" resultMap="BaseResultMap">
+ select top 1 *
+ from asr_bas_devp
+ where 1=1
+ and wrk_no = #{wrkNo}
+ </select>
+
+ <select id="getLoading" resultMap="BaseResultMap">
+ select * from dbo.asr_bas_devp where 1=1
+ and loading = 'Y'
+ <if test="sour > 200">
+ and dev_no = 204
+ </if>
+ <if test="sour < 200">
+ and dev_no = 104
+ </if>
+ </select>
+
</mapper>
--
Gitblit v1.9.1