From 272da942cd65f09b62e74d983ae42a320c9609ee Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期二, 25 七月 2023 08:42:11 +0800
Subject: [PATCH] 捡料
---
src/main/resources/mapper/BasDevpMapper.xml | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/BasDevpMapper.xml b/src/main/resources/mapper/BasDevpMapper.xml
index b00be22..22c1f25 100644
--- a/src/main/resources/mapper/BasDevpMapper.xml
+++ b/src/main/resources/mapper/BasDevpMapper.xml
@@ -41,6 +41,8 @@
<result column="max_wt" property="maxWt" />
<result column="gross_wt" property="grossWt" />
<result column="cart_pos" property="cartPos" />
+ <result column="qr_code_value" property="qrCodeValue" />
+ <result column="loc_no" property="locNo" />
</resultMap>
@@ -66,4 +68,31 @@
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="queryByLocNo" resultMap="BaseResultMap">
+ select top 1 *
+ from asr_bas_devp
+ 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