|
@@ -135,9 +135,11 @@ public class QywxUserDataService {
|
|
|
|
|
|
// 查询是否已存在
|
|
|
UserBaseExample example = new UserBaseExample();
|
|
|
+ log.info("processBaseInfo, vid: {}, uuid: {}", data.vid, envelop.getUuid());
|
|
|
example.createCriteria().andVidEqualTo(data.vid.toString());
|
|
|
List<UserBase> existUsers = userBaseMapper.selectByExample(example);
|
|
|
if (!existUsers.isEmpty()) {
|
|
|
+ log.info("User already exists, updating: {}", data.vid);
|
|
|
UserBase existUser = existUsers.get(0);
|
|
|
userBase.setId(existUser.getId());
|
|
|
userBase.setCreateTime(existUser.getCreateTime());
|