From 410227e469df13201cfe7b6d9c254b02fba5e11b Mon Sep 17 00:00:00 2001
From: renkang <8417338+k94314517@user.noreply.gitee.com>
Date: 星期四, 28 十一月 2024 14:48:51 +0800
Subject: [PATCH] 客户资料 巡检任务业务

---
 server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/YwPatrolLineServiceImpl.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/YwPatrolLineServiceImpl.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/YwPatrolLineServiceImpl.java
index 54dea5a..51e298f 100644
--- a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/YwPatrolLineServiceImpl.java
+++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/YwPatrolLineServiceImpl.java
@@ -65,6 +65,7 @@
             ){
                 throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"宸℃鐐归厤缃敊璇�");
             }
+            ywLinePoint.setId(null);
             ywLinePoint.setCreateDate(new Date());
             ywLinePoint.setCreator(loginUserInfo.getId());
             ywLinePoint.setIsdeleted(Constants.ZERO);
@@ -117,6 +118,7 @@
             ){
                 throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"宸℃鐐归厤缃敊璇�");
             }
+            ywLinePoint.setId(null);
             ywLinePoint.setLineId(ywPatrolLine.getId());
             ywLinePoint.setCreateDate(new Date());
             ywLinePoint.setCreator(loginUserInfo.getId());

--
Gitblit v1.9.3