From 5ba99b525e1d351f6a99e40dab27838450dae338 Mon Sep 17 00:00:00 2001 From: huangjiayang <5265313@qq.com> Date: 星期四, 24 四月 2025 11:00:12 +0800 Subject: [PATCH] 【UPDATE】1.修改工单实体新增“作业(工序名称)”属性 2.修改工序实体新增“工作中心”属性 3.修改对应零件和钣金实体 4.修改mapping.xml字段 --- aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsGasPipingPlanServiceImpl.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsGasPipingPlanServiceImpl.java b/aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsGasPipingPlanServiceImpl.java index 26ed8e3..dcec12f 100644 --- a/aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsGasPipingPlanServiceImpl.java +++ b/aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsGasPipingPlanServiceImpl.java @@ -15,6 +15,7 @@ import com.aps.core.mapper.ApsGasPipingPlanMapper; import com.aps.core.domain.ApsGasPipingPlan; import com.aps.core.service.IApsGasPipingPlanService; +import org.springframework.transaction.annotation.Transactional; /** * 姘斾綋绠¤矾璁″垝绠$悊Service涓氬姟灞傚鐞� @@ -104,8 +105,11 @@ return apsGasPipingPlanMapper.deleteApsGasPipingPlanById(id); } + @Transactional @Override public int confirmGasPiping(ApsGasPipingPlanTemp apsGasPipingPlanTemp) { + //鍒犻櫎鎵�鏈夎鍒� + apsGasPipingPlanMapper.removeAllPlans(); //鏌ヨ涓存椂琛ㄦ暟鎹� List<ApsGasPipingPlanTemp> apsGasPipingPlanTemps=apsGasPipingPlanTempMapper.selectApsGasPipingPlanTempList(apsGasPipingPlanTemp); int count=0; -- Gitblit v1.9.3