From 8cee0b04da5f79fc3dd69b5a0f78376979c23f7d Mon Sep 17 00:00:00 2001 From: "shunyi.kuang" <846002312@qq.com> Date: Wed, 28 Jan 2026 18:06:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E8=AE=A1=E5=88=92=E7=AE=A1=E7=90=86-?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E9=9C=80=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/dayPlan/service/impl/DemandServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/itc-pcitc-mdm/itc-pcitc-mdm-service/src/main/java/com/xjrsoft/module/dayPlan/service/impl/DemandServiceImpl.java b/itc-pcitc-mdm/itc-pcitc-mdm-service/src/main/java/com/xjrsoft/module/dayPlan/service/impl/DemandServiceImpl.java index ffe2df3..07fc0a8 100644 --- a/itc-pcitc-mdm/itc-pcitc-mdm-service/src/main/java/com/xjrsoft/module/dayPlan/service/impl/DemandServiceImpl.java +++ b/itc-pcitc-mdm/itc-pcitc-mdm-service/src/main/java/com/xjrsoft/module/dayPlan/service/impl/DemandServiceImpl.java @@ -109,7 +109,7 @@ public class DemandServiceImpl extends MPJBaseServiceImpl dtoList = Lists.newArrayList(); for(Long id:ids) { - LngPngDemand lngPngDemand = this.getById(id); + LngPngDemandVo lngPngDemand = this.getInfoById(id); if (lngPngDemand == null) { throw new BusinessException(BusinessCode.of(10500,"找不到此数据!")); } @@ -122,7 +122,7 @@ public class DemandServiceImpl extends MPJBaseServiceImpl approList = approMapper.selectList(queryApproWrapper); List approIds = approList.stream().map(LngPngAppro::getId).collect(Collectors.toList()); - dataService.insertBatch(dtoList,new DataOperationListener() { + dataService.updateBatch(dtoList,new DataOperationListener() { @Override public UpdateLngPngDemandDto before(DataOperationContent content) {