From 34e3301ff24f10100dae8c9b4b98cafef1b6a653 Mon Sep 17 00:00:00 2001
From: jiazx0107@163.com <jiazx0107@163.com>
Date: 星期日, 25 六月 2023 21:17:51 +0800
Subject: [PATCH] 出入库流程优化-入库详单优化
---
igds-inout/src/main/resources/mapper/InoutRecordMapper.xml | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/igds-inout/src/main/resources/mapper/InoutRecordMapper.xml b/igds-inout/src/main/resources/mapper/InoutRecordMapper.xml
index bfdf1ea..36bb4a0 100644
--- a/igds-inout/src/main/resources/mapper/InoutRecordMapper.xml
+++ b/igds-inout/src/main/resources/mapper/InoutRecordMapper.xml
@@ -447,7 +447,16 @@
<if test="param.checkStatus != null and param.checkStatus == 'NONE' ">AND CHECK_STATUS_ = 'NONE'</if>
</where>
- AND RECORD_STATUS_ != 'DEL'
+
+ <choose>
+ <when test="param.recordStatus != null and param.recordStatus == 'DEL' ">
+ AND RECORD_STATUS_ = 'DEL'
+ </when>
+ <otherwise>
+ AND RECORD_STATUS_ != 'DEL'
+ </otherwise>
+ </choose>
+
<choose>
<when test="param.orderTag != null and param.orderTag == 'ASC' ">
--
Gitblit v1.9.3