@@ -74,6 +74,7 @@ public class WestreamSceneryServiceImpl extends BaseServiceImpl<WestreamSceneryM | |||
//查询微信用户昵称和头像 | |||
WestreamUser westreamUser = westreamUserMapper.selectOne(new LambdaQueryWrapper<WestreamUser>() | |||
.eq(WestreamUser::getOpenid, record.getOpenid()) | |||
.eq(WestreamUser::getTenantId, query.getTenantId()) | |||
.eq(WestreamUser::getMark, 1)); | |||
if(ObjectUtil.isNotNull(westreamUser)){ | |||
record.setNickname(westreamUser.getNickname()); |