From 8fe7ee66090eb2ccb4e2fd7a57f5c40fc62c2a40 Mon Sep 17 00:00:00 2001 From: PoffyZhang <99775271@qq.com> Date: Tue, 5 Sep 2023 18:10:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8D=89=E7=A8=BF=E7=AE=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java index 2eb71e2..404d64f 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java @@ -529,6 +529,10 @@ public class GovProjectCollectionManage { //7. 推送数据(改为定时推送了) // pushProject(saveDTO); + //如果是草稿箱来的 就要删除 + if(Objects.nonNull(saveDTO.getDraftId())){ + draftService.removeById(saveDTO.getDraftId()); + } return BizConst.SAVE_SUCCESS; }