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