From 3a506a7aa047c806f09b82bf1c8670d94072d86b Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期五, 11 八月 2023 16:57:44 +0800
Subject: [PATCH] 维修、档案

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

diff --git a/igds-inout/src/main/resources/mapper/InoutRecordMapper.xml b/igds-inout/src/main/resources/mapper/InoutRecordMapper.xml
index f4beaba..53ecaf7 100644
--- a/igds-inout/src/main/resources/mapper/InoutRecordMapper.xml
+++ b/igds-inout/src/main/resources/mapper/InoutRecordMapper.xml
@@ -123,6 +123,7 @@
         from
         D_INOUT_RECORD
         <where>
+            <if test="param.id != null and param.id != '' ">AND ID_ = #{param.id}</if>
             <if test="param.companyId != null and param.companyId != '' ">AND COMPANY_ID_ = #{param.companyId}</if>
             <if test="param.type != null and param.type != '' ">AND TYPE_ = #{param.type}</if>
             <if test="param.plateNum != null and param.plateNum != '' ">AND PLATE_NUM_ = #{param.plateNum}</if>

--
Gitblit v1.9.3