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 |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/BasDevpMapper.xml b/src/main/resources/mapper/BasDevpMapper.xml
index 4583b6e..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>
 
@@ -73,4 +75,24 @@
         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