From 28c5e2202c11af63c6cf138ff319ec8813e1bd64 Mon Sep 17 00:00:00 2001 From: 懒羊羊 <15939171744@163.com> Date: 星期四, 14 十二月 2023 16:48:26 +0800 Subject: [PATCH] 工艺流程优化 --- jcdm-main/src/main/java/com/jcdm/main/bs/technologyRoute/service/impl/BsTechnologyRouteInfoServiceImpl.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/jcdm-main/src/main/java/com/jcdm/main/bs/technologyRoute/service/impl/BsTechnologyRouteInfoServiceImpl.java b/jcdm-main/src/main/java/com/jcdm/main/bs/technologyRoute/service/impl/BsTechnologyRouteInfoServiceImpl.java index 8dc5452..6d856b0 100644 --- a/jcdm-main/src/main/java/com/jcdm/main/bs/technologyRoute/service/impl/BsTechnologyRouteInfoServiceImpl.java +++ b/jcdm-main/src/main/java/com/jcdm/main/bs/technologyRoute/service/impl/BsTechnologyRouteInfoServiceImpl.java @@ -8,6 +8,7 @@ import com.jcdm.main.bs.technologyRoute.service.IBsTechnologyRouteInfoService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import com.jcdm.main.bs.domain.BsTechnologyRouteChildInfo; import static org.apache.commons.lang3.SystemUtils.getUserName; @@ -107,10 +108,10 @@ public int updateBsTechnologyRouteAndChildInfo(BsTechnologyRouteInfo bsTechnologyRouteInfo) { int i = this.updateBsTechnologyRouteInfo(bsTechnologyRouteInfo); com.jcdm.main.bs.domain.BsTechnologyRouteChildInfo bsTechnologyRouteChildInfo = new com.jcdm.main.bs.domain.BsTechnologyRouteChildInfo(); - bsTechnologyRouteChildInfo.setRouteCode(bsTechnologyRouteInfo.getRouteCode()); + bsTechnologyRouteChildInfo.setId(bsTechnologyRouteInfo.getId()); List<BsTechnologyRouteChildInfo> bsTechnologyRouteChildInfos = bsTechnologyRouteChildInfoMapper.selectBsTechnologyRouteChildInfoList(bsTechnologyRouteChildInfo); for (com.jcdm.main.bs.domain.BsTechnologyRouteChildInfo technologyRouteChildInfo : bsTechnologyRouteChildInfos) { - technologyRouteChildInfo.setSpareField4(bsTechnologyRouteInfo.getRouteName()); + technologyRouteChildInfo.setRouteCode(bsTechnologyRouteInfo.getRouteCode()); int i1 = bsTechnologyRouteChildInfoMapper.updateBsTechnologyRouteChildByCodeInfo(technologyRouteChildInfo); } return i; -- Gitblit v1.9.3