From f095619e00f149b538e8cdafa16513a7a70c6b47 Mon Sep 17 00:00:00 2001
From: wenwj <‘1106994300@qq.com>
Date: 星期一, 14 四月 2025 13:15:46 +0800
Subject: [PATCH] 工艺路线工序序号调整
---
aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsGasPipingPlanServiceImpl.java | 4 +++-
1 files changed, 3 insertions(+), 1 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 06b97cd..26ed8e3 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
@@ -2,6 +2,7 @@
import java.util.List;
+import com.aps.common.core.utils.DateUtils;
import com.aps.common.core.utils.uuid.IdUtils;
import com.aps.core.domain.ApsGasPipingPlanTemp;
import com.aps.core.domain.ApsPartPlan;
@@ -63,6 +64,7 @@
public int insertApsGasPipingPlan(ApsGasPipingPlan apsGasPipingPlan)
{
apsGasPipingPlan.setId(IdUtils.fastUUID());
+ apsGasPipingPlan.setCreateTime(DateUtils.getNowDate());
return apsGasPipingPlanMapper.insertApsGasPipingPlan(apsGasPipingPlan);
}
@@ -122,6 +124,6 @@
if (count==apsGasPipingPlanTemps.size()) {
apsGasPipingPlanTempMapper.deleteApsGasPipingPlanTempByIds(ids);
}
- return 0;
+ return 1;
}
}
--
Gitblit v1.9.3