Browse Source

fix: 移动督察问题修复

master
wxc 5 months ago
parent
commit
2d7a04ba68
  1. 2
      src/main/java/com/biutag/supervision/service/TaskManagementService.java

2
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();

Loading…
Cancel
Save