From baf11d9f195732cfc0cc45a66b58ec2c1633cd4d Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期三, 19 七月 2023 09:03:11 +0800
Subject: [PATCH] command write
---
src/main/resources/mapper/BasDevpMapper.xml | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/BasDevpMapper.xml b/src/main/resources/mapper/BasDevpMapper.xml
index 6b2e3c8..22c1f25 100644
--- a/src/main/resources/mapper/BasDevpMapper.xml
+++ b/src/main/resources/mapper/BasDevpMapper.xml
@@ -81,4 +81,18 @@
where 1=1
and loc_no = #{locNo}
</select>
+
+ <select id="queryByQrCode" resultMap="BaseResultMap">
+ select top 1 *
+ from asr_bas_devp
+ where 1=1
+ and qr_code_value = #{qrCodeValue}
+ </select>
+
+ <select id="selectLevSite" resultMap="BaseResultMap">
+ select *
+ from asr_bas_devp
+ where 1=1
+ and dev_no in ('105','106','107','108')
+ </select>
</mapper>
--
Gitblit v1.9.1