update
This commit is contained in:
parent
6003780f4f
commit
f782f41164
|
@ -309,7 +309,7 @@ public class ContactDbService extends BaseService<ContactDbMapper, ContactDb> {
|
||||||
if (CollectionUtil.isNotEmpty(contactDbMessages)){
|
if (CollectionUtil.isNotEmpty(contactDbMessages)){
|
||||||
List<ContactDbMessage> contactDbMessageList = new ArrayList<ContactDbMessage>();
|
List<ContactDbMessage> contactDbMessageList = new ArrayList<ContactDbMessage>();
|
||||||
contactDbMessages.forEach(contactDbMessage ->{
|
contactDbMessages.forEach(contactDbMessage ->{
|
||||||
ContactDbMessage dbMessage = BeanUtil.copyProperties(contactDbMessages, ContactDbMessage.class);
|
ContactDbMessage dbMessage = BeanUtil.copyProperties(contactDbMessage, ContactDbMessage.class);
|
||||||
dbMessage.setContactId(loginUser.getId());
|
dbMessage.setContactId(loginUser.getId());
|
||||||
dbMessage.setCreatedAt(LocalDateTime.now());
|
dbMessage.setCreatedAt(LocalDateTime.now());
|
||||||
dbMessage.setUpdatedId(loginUser.getId());
|
dbMessage.setUpdatedId(loginUser.getId());
|
||||||
|
|
Loading…
Reference in New Issue