From ecb961a2dccd92b4bdd0a4bb80c1826284461ff0 Mon Sep 17 00:00:00 2001 From: tyty Date: Mon, 7 Aug 2023 11:18:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BA=93=E5=AD=98=E5=8F=B0?= =?UTF-8?q?=E8=B4=A6=E6=A8=A1=E7=B3=8A=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/hnac/hzims/spare/mapper/SpAllocationMapper.xml | 2 +- .../src/main/java/com/hnac/hzims/spare/mapper/SpWarehouseInMapper.xml | 2 +- .../src/main/java/com/hnac/hzims/spare/mapper/SpWarehouseOutMapper.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hzims-service/assets/src/main/java/com/hnac/hzims/spare/mapper/SpAllocationMapper.xml b/hzims-service/assets/src/main/java/com/hnac/hzims/spare/mapper/SpAllocationMapper.xml index 51f8465..af3d899 100644 --- a/hzims-service/assets/src/main/java/com/hnac/hzims/spare/mapper/SpAllocationMapper.xml +++ b/hzims-service/assets/src/main/java/com/hnac/hzims/spare/mapper/SpAllocationMapper.xml @@ -46,7 +46,7 @@ wt_sp_allocation wa JOIN wt_sp_warehouse sw ON wa.OUT_WAREHOUSE_ID = sw.id - and wa.code = #{params.code} + and wa.code like concat('%',#{params.code},'%') and wa.status = #{params.status} diff --git a/hzims-service/assets/src/main/java/com/hnac/hzims/spare/mapper/SpWarehouseInMapper.xml b/hzims-service/assets/src/main/java/com/hnac/hzims/spare/mapper/SpWarehouseInMapper.xml index 7d7f1bc..80ee565 100644 --- a/hzims-service/assets/src/main/java/com/hnac/hzims/spare/mapper/SpWarehouseInMapper.xml +++ b/hzims-service/assets/src/main/java/com/hnac/hzims/spare/mapper/SpWarehouseInMapper.xml @@ -47,7 +47,7 @@ wt_sp_warehouse_in wi JOIN wt_sp_warehouse sw ON wi.STORAGE_ROOM = sw.id - and wi.code = #{params.code} + and wi.code like concat('%',#{params.code},'%') and wi.type = #{params.type} diff --git a/hzims-service/assets/src/main/java/com/hnac/hzims/spare/mapper/SpWarehouseOutMapper.xml b/hzims-service/assets/src/main/java/com/hnac/hzims/spare/mapper/SpWarehouseOutMapper.xml index 54863cd..d3349a8 100644 --- a/hzims-service/assets/src/main/java/com/hnac/hzims/spare/mapper/SpWarehouseOutMapper.xml +++ b/hzims-service/assets/src/main/java/com/hnac/hzims/spare/mapper/SpWarehouseOutMapper.xml @@ -47,7 +47,7 @@ wt_sp_warehouse_out wo JOIN wt_sp_warehouse sw ON wo.STORAGE_ROOM = sw.id - and wo.code = #{params.code} + and wo.code like concat('%',#{params.code},'%') and wo.type = #{params.type}