From 902c5015acc63033049a5e005e25df31ef280ad3 Mon Sep 17 00:00:00 2001 From: "liang.chao" Date: Wed, 3 Apr 2024 17:20:33 +0800 Subject: [PATCH] =?UTF-8?q?bug=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/app/BackReceiveMapper.xml | 3 +++ .../sgzb/material/domain/PurchaseMacodeInfo.java | 11 +++++++++++ .../mapper/material/PurchaseMacodeInfoMapper.xml | 1 + .../sgzb/system/service/impl/SelectServiceImpl.java | 8 +++++--- 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/sgzb-modules/sgzb-base/src/main/resources/mapper/app/BackReceiveMapper.xml b/sgzb-modules/sgzb-base/src/main/resources/mapper/app/BackReceiveMapper.xml index dc5f40af..f2e4fd1e 100644 --- a/sgzb-modules/sgzb-base/src/main/resources/mapper/app/BackReceiveMapper.xml +++ b/sgzb-modules/sgzb-base/src/main/resources/mapper/app/BackReceiveMapper.xml @@ -679,6 +679,9 @@ ) aa on aa.typeId=bad.type_id WHERE bai.id=#{id} + + and CONCAT('NSJJ',mt.`code`,mt.model_code) like concat ('%',#{code},'%') +