vran
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
core/src/main/java/com/databasir/core/domain/system/service/SystemService.java
|
|
@ -45,6 +45,7 @@ public class SystemService { |
|
|
|
sysMailPojo.setSmtpHost(request.getSmtpHost()); |
|
|
|
sysMailPojo.setSmtpPort(request.getSmtpPort()); |
|
|
|
sysMailPojo.setUsername(request.getUsername()); |
|
|
|
sysMailPojo.setUseSsl(request.getUseSSL()); |
|
|
|
|
|
|
|
Optional<Integer> idOpt = sysMailDao.selectOptionTopOne().map(SysMailPojo::getId); |
|
|
|
idOpt.ifPresent(sysMailPojo::setId); |
|
|
|