From 6c258b0a54b7f846d5fe0fe49012916d667b4250 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Wed, 13 Nov 2024 11:35:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D16?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/quality/QcCheckReportIncomeMapper.xml | 2 +- .../resources/mapper/quality/QcCheckTaskWarehousingMapper.xml | 4 ++-- .../src/main/resources/mapper/wms/BaseProductMapper.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckReportIncomeMapper.xml b/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckReportIncomeMapper.xml index 2a278379..be28b322 100644 --- a/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckReportIncomeMapper.xml +++ b/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckReportIncomeMapper.xml @@ -75,7 +75,7 @@ and qct.material_name like concat('%',#{materialName}, '%') and qct.supplier_code = #{supplierCode} and qct.supplier_name like concat('%',#{supplierName}, '%') - and qct.check_loc = #{checkLoc} + and qct.check_loc like concat('%', #{checkLoc}, '%') and qct.check_status = #{checkStatus} and qct.check_man_code = #{checkManCode} and qct.check_man_name like concat('%',#{checkManName}, '%') diff --git a/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckTaskWarehousingMapper.xml b/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckTaskWarehousingMapper.xml index a92460ac..843a9b02 100644 --- a/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckTaskWarehousingMapper.xml +++ b/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckTaskWarehousingMapper.xml @@ -60,8 +60,8 @@ left join qc_check_type q on q.id = qct.check_type left join pro_order_workorder pow on pow.workorder_code = qct.order_no - and qct.check_no = #{checkNo} - and qct.income_batch_no = #{incomeBatchNo} + and qct.check_no like concat('%', #{checkNo}, '%') + and qct.income_batch_no like concat('%', #{incomeBatchNo}, '%') and qct.order_no = #{orderNo} and pow.workorder_code_sap like concat('%',#{workorderCodeSap}, '%') and qct.material_code like concat('%',#{materialCode}, '%') diff --git a/op-modules/op-wms/src/main/resources/mapper/wms/BaseProductMapper.xml b/op-modules/op-wms/src/main/resources/mapper/wms/BaseProductMapper.xml index 0df2de90..da601737 100644 --- a/op-modules/op-wms/src/main/resources/mapper/wms/BaseProductMapper.xml +++ b/op-modules/op-wms/src/main/resources/mapper/wms/BaseProductMapper.xml @@ -152,7 +152,7 @@ and bp.report_rate = #{reportRate} and bp.mvgr5 like concat('%', #{mvgr5},'%') and bpa.cpk_type =#{cpkType} - and bp.del_flag = '0' + and bp.del_flag = '0' and bp.product_code not like '00000000%' order by bp.product_code asc