From 804bea41b340cb04ac57e8fbdeb2d54938a80a5a Mon Sep 17 00:00:00 2001
From: CZT <czt18638530771@163.com>
Date: 星期二, 04 七月 2023 19:12:50 +0800
Subject: [PATCH] 提交出入库化验--扫码功能

---
 igds-inout/src/main/resources/mapper/InoutCheckMapper.xml |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/igds-inout/src/main/resources/mapper/InoutCheckMapper.xml b/igds-inout/src/main/resources/mapper/InoutCheckMapper.xml
index db77ee6..8eaa2f6 100644
--- a/igds-inout/src/main/resources/mapper/InoutCheckMapper.xml
+++ b/igds-inout/src/main/resources/mapper/InoutCheckMapper.xml
@@ -151,4 +151,40 @@
         ORDER BY UPDATE_TIME_
     </select>
 
+    <!--鍒嗛〉鑾峰彇鍖栭獙鏁版嵁-->
+    <select id="inoutDataByCheckId" resultType="com.ld.igds.inout.dto.InoutCheckData"
+            parameterType="com.ld.igds.inout.dto.InoutCheckParam">
+        select
+        ID_ as id,
+        COMPANY_ID_ as companyId,
+        DEPT_ID_ as deptId,
+        TYPE_ as type,
+        PROGRESS_ as progress,
+        RECORD_STATUS_ as recordStatus,
+        INTEL_CARD_ as intelCard,
+        REGISTER_TIME_ as registerTime,
+        REGISTER_USER_ as registerUser,
+        DEPOT_ID_ as depotId,
+        FOOD_VARIETY_ as foodVariety,
+        FOOD_LEVEL_ as foodLevel,
+        PRICE_ as price,
+        PLATE_NUM_ as plateNum,
+        SAMPLE_USER_ as sampleUser,
+        SAMPLE_TIME_ as sampleTime,
+        CHECK_USER_ as checkUser,
+        CHECK_TIME_ as checkTime,
+        CHECK_ID_ as checkId,
+        CHECK_STATUS_ AS checkStatus,
+        REMARKS_ AS remarks
+        from
+        D_INOUT_RECORD
+        <where>
+            <if test="param.companyId != null and param.companyId != '' ">AND COMPANY_ID_ = #{param.companyId}</if>
+            <if test="param.checkId != null and param.checkId != '' ">AND CHECK_ID_ = #{param.checkId}</if>
+            <if test="param.progress != null and param.progress != '' ">AND PROGRESS_ = #{param.progress}</if>
+        </where>
+        AND RECORD_STATUS_ != 'DEL'
+        ORDER BY REGISTER_TIME_
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3