From 2d7a04ba6885f71b1ab4b2b8edc1166fc93d5085 Mon Sep 17 00:00:00 2001 From: wxc <191104855@qq.com> Date: Fri, 18 Jul 2025 17:17:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E5=8A=A8=E7=9D=A3=E5=AF=9F?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/biutag/supervision/service/TaskManagementService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/biutag/supervision/service/TaskManagementService.java b/src/main/java/com/biutag/supervision/service/TaskManagementService.java index 8888b05..2815058 100644 --- a/src/main/java/com/biutag/supervision/service/TaskManagementService.java +++ b/src/main/java/com/biutag/supervision/service/TaskManagementService.java @@ -176,7 +176,7 @@ public class TaskManagementService { personalSup.setName(controlName); personalSup.setCreateTime(LocalDateTime.now()); personalSup.setTaskId(task.getId()); - String controlIdcode = Optional.ofNullable(supRiskDto).map(SupRiskDto::getControlName).orElse(null); + String controlIdcode = Optional.ofNullable(supRiskDto).map(SupRiskDto::getControlIdcode).orElse(null); personalSup.setIdCode(controlIdcode); return personalSup; }).toList();