Commit 9d82b485 authored by lee_mingzhu's avatar lee_mingzhu

修改多条件查询

parent c416452e
...@@ -232,6 +232,7 @@ public class InnerController { ...@@ -232,6 +232,7 @@ public class InnerController {
for (Contact c : contacts) { for (Contact c : contacts) {
c.setId(null); c.setId(null);
c.setUserId(userId); c.setUserId(userId);
c.setRelation(c.getRelation() == null ? Relation.OTHER : c.getRelation());
c.setCreatedAt(now); c.setCreatedAt(now);
c.setUpdateAt(now); c.setUpdateAt(now);
} }
......
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