From 09f3f95198a97608b5550379516e9f6eda1bd860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E4=B8=87=E9=87=8C?= <1726150332@qq.com> Date: Wed, 5 Nov 2025 13:57:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E5=93=81=E5=A4=87=E4=BB=B6=E5=87=BA?= =?UTF-8?q?=E5=85=A5=E5=BA=93=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/device/EquSparepartsInOutMapper.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/op-modules/op-device/src/main/resources/mapper/device/EquSparepartsInOutMapper.xml b/op-modules/op-device/src/main/resources/mapper/device/EquSparepartsInOutMapper.xml index 81dc58dbb..b334846e2 100644 --- a/op-modules/op-device/src/main/resources/mapper/device/EquSparepartsInOutMapper.xml +++ b/op-modules/op-device/src/main/resources/mapper/device/EquSparepartsInOutMapper.xml @@ -55,10 +55,10 @@ LEFT JOIN lanju_op_cloud.dbo.sys_user su ON esio.create_by = su.user_name LEFT JOIN equ_spareparts_ledger esl ON esio.spare_code = esl.material_code AND esl.del_flag = 0 - and in_out_type = #{inOutType} - and order_no = #{orderNo} - and spare_code = #{spareCode} - and spare_name = #{spareName} + and esio.in_out_type = #{inOutType} + and esio.order_no = #{orderNo} + and esio.spare_code like concat('%', #{spareCode}, '%') + and esio.spare_name like concat('%', #{spareName}, '%') and amount = #{amount} and attr1 = #{attr1} and attr2 = #{attr2}