This commit is contained in:
lijiaqi 2022-11-21 13:46:52 +08:00
parent f782f41164
commit 41fe2c517e
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ public class ContactDbService extends BaseService<ContactDbMapper, ContactDb> {
List<ContactDbMessage> contactDbMessageList = new ArrayList<ContactDbMessage>();
contactDbMessages.forEach(contactDbMessage ->{
ContactDbMessage dbMessage = BeanUtil.copyProperties(contactDbMessage, ContactDbMessage.class);
dbMessage.setContactId(loginUser.getId());
dbMessage.setCreatedId(loginUser.getId());
dbMessage.setCreatedAt(LocalDateTime.now());
dbMessage.setUpdatedId(loginUser.getId());
dbMessage.setUpdatedAt(LocalDateTime.now());