修改收件人显示错误的问题
This commit is contained in:
parent
cb1dc4b9b7
commit
6ece4076eb
@ -12,7 +12,9 @@ import ink.wgink.common.base.DefaultBaseService;
|
||||
import ink.wgink.common.component.SecurityComponent;
|
||||
import ink.wgink.pojo.ListPage;
|
||||
import ink.wgink.pojo.bos.UserInfoBO;
|
||||
import ink.wgink.pojo.dtos.user.UserDTO;
|
||||
import ink.wgink.pojo.result.SuccessResultList;
|
||||
import ink.wgink.service.user.service.IUserService;
|
||||
import ink.wgink.util.UUIDUtil;
|
||||
import ink.wgink.util.date.DateUtil;
|
||||
import ink.wgink.util.map.HashMapUtil;
|
||||
@ -36,6 +38,8 @@ public class MailServiceImpl extends DefaultBaseService implements IMailService
|
||||
private IMailDao mailDao;
|
||||
@Autowired
|
||||
private SecurityComponent securityComponent;
|
||||
@Autowired
|
||||
private IUserService userService;
|
||||
|
||||
|
||||
@Override
|
||||
@ -133,7 +137,8 @@ public class MailServiceImpl extends DefaultBaseService implements IMailService
|
||||
}
|
||||
}
|
||||
}
|
||||
dto.setCreatorNames(currentUser.getUserUsername() + "[" + currentUser.getUserName() + "]");
|
||||
UserDTO sendDto = userService.get(dto.getCreator());
|
||||
dto.setCreatorNames(sendDto.getUserUsername() + "[" + sendDto.getUserName() + "]");
|
||||
String spx = "<p><br></p><p><br></p><p><br></p><p>在 "+ dto.getGmtCreate() + ", "
|
||||
+"<span style='color: blue;'>"+ currentUser.getUserUsername() + " [" + currentUser.getUserName() + "]</span> 写道:" +"</p>" +
|
||||
"<p><hr style='border: 1px dashed'></hr></p>";
|
||||
|
Loading…
Reference in New Issue
Block a user