From 1de0da1c3cf68daa54a46d65a2e03fa0ee571aad Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Fri, 26 Jun 2026 14:52:16 +0800 Subject: [PATCH] =?UTF-8?q?2026-06-26=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/qualityAssurance/QualityAssuranceMapper.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/mapper/qualityAssurance/QualityAssuranceMapper.xml b/src/main/resources/mapper/qualityAssurance/QualityAssuranceMapper.xml index 19b899a..520b6f0 100644 --- a/src/main/resources/mapper/qualityAssurance/QualityAssuranceMapper.xml +++ b/src/main/resources/mapper/qualityAssurance/QualityAssuranceMapper.xml @@ -3,7 +3,7 @@ @@ -11,11 +11,11 @@ select DefectCode,DefectDesc from InspectionDefectCode where DefectCode=#{defectCode} and Site=#{site} - INSERT INTO InspectionDefectCode (InspectionType_DB,DefectCode,InspectionType,DefectDesc,Active,Site) - values (#{inspectionTypeDb},#{defectCode},#{inspectionType},#{defectDesc},#{active},#{site}) + INSERT INTO InspectionDefectCode (InspectionType_DB,DefectCode,InspectionType,DefectDesc,Active,Site,workCenter_no) + values (#{inspectionTypeDb},#{defectCode},#{inspectionType},#{defectDesc},#{active},#{site},#{workCenterNo}) - UPDATE InspectionDefectCode SET Active=#{active},DefectDesc=#{defectDesc},InspectionType_DB=#{inspectionTypeDb},InspectionType=#{inspectionType} + UPDATE InspectionDefectCode SET Active=#{active},DefectDesc=#{defectDesc},InspectionType_DB=#{inspectionTypeDb},InspectionType=#{inspectionType},workCenter_no=#{workCenterNo} where DefectCode=#{defectCode} and Site=#{site}