Commit a6b3aaeb authored by lee_mingzhu's avatar lee_mingzhu

修改多条件查询

parent 2f315bff
......@@ -234,6 +234,7 @@ public class InnerController {
c.setId(null);
c.setUserId(userId);
c.setCreatedAt(now);
c.setRelation(c.getRelation() == null ? Relation.OTHER : c.getRelation());
c.setUpdateAt(now);
}
List<Contact> result = contactService.save(contacts);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment