From 5f11ea001adbff091b62d6632d1a589614ba0074 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期五, 26 五月 2023 10:03:45 +0800 Subject: [PATCH] # --- src/main/resources/mapper/OrderDetlMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/OrderDetlMapper.xml b/src/main/resources/mapper/OrderDetlMapper.xml index 4a9ca0e..a7a495a 100644 --- a/src/main/resources/mapper/OrderDetlMapper.xml +++ b/src/main/resources/mapper/OrderDetlMapper.xml @@ -71,7 +71,7 @@ where 1=1 and order_no = #{orderNo} and matnr = #{matnr} - <if test="batch!=null"> + <if test="batch!=null and batch!=''"> and batch = #{batch} </if> </select> -- Gitblit v1.9.1