@@ -144,7 +144,7 @@ public class EventMsgService implements GzhMsgService {
userGzhRelation.setIsQrScene(true);
}
try {
- if (userGzhRelation.getId() != null) {
+ if (userGzhRelation.getId() == null) {
userGzhRelationMapper.insert(userGzhRelation);
return;