From 7420c4627e7abda79c60b827854e67206141da44 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Thu, 16 May 2024 09:06:34 +0800 Subject: [PATCH] =?UTF-8?q?2024-05-16=20=E5=8A=9F=E8=83=BD=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/xujie/sys/modules/pms/service/Impl/QcServiceImpl.java | 1 + src/main/resources/mapper/pms/QcMapper.xml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/xujie/sys/modules/pms/service/Impl/QcServiceImpl.java b/src/main/java/com/xujie/sys/modules/pms/service/Impl/QcServiceImpl.java index 6a09fe37..53e5b939 100644 --- a/src/main/java/com/xujie/sys/modules/pms/service/Impl/QcServiceImpl.java +++ b/src/main/java/com/xujie/sys/modules/pms/service/Impl/QcServiceImpl.java @@ -4354,6 +4354,7 @@ public class QcServiceImpl implements QcService { } else { row.getCell(3).setCellType(CellType.STRING); task.setSubDetailValue(row.getCell(3).getStringCellValue()); + //task.setSubDetailValue(String.valueOf(row.getCell(3).getRawValue())); // map中是否已存在该key if (!countMap.containsKey(task.getItemNo())) { // 没有则新建并赋初始值 countMap.put(task.getItemNo(), 0); diff --git a/src/main/resources/mapper/pms/QcMapper.xml b/src/main/resources/mapper/pms/QcMapper.xml index 1dcf578b..ea60cc27 100644 --- a/src/main/resources/mapper/pms/QcMapper.xml +++ b/src/main/resources/mapper/pms/QcMapper.xml @@ -183,14 +183,14 @@ sampling_programme_no = #{samplingProgrammeNo}, sampling_level_no = #{samplingLevelNo}, default_sampling_proportion = #{defaultSamplingProportion} - WHERE site = #{site} and ItemNo = #{itemNo} and ItemType = #{itemType} + WHERE site = #{site} and ItemNo = #{itemNo} and ItemType = #{itemType} and bu_no = #{buNo} UPDATE qc_method_item SET method_no = #{methodNo} - WHERE site = #{site} and ItemNo = #{itemNo} + WHERE site = #{site} and ItemNo = #{itemNo} and bu_no = #{buNo}