|
@@ -869,6 +869,7 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
|
869
|
869
|
|
870
|
870
|
QueryWrapper<TaPersonBuilding> taPersonBuildingQueryWrapper = new QueryWrapper();
|
871
|
871
|
taPersonBuildingQueryWrapper.eq("user_id", taUser.getUserId());
|
|
872
|
+ taPersonBuildingQueryWrapper.eq(!StringUtils.isEmpty(taUser.getBuildingId()), "building_id", taUser.getBuildingId());
|
872
|
873
|
TaPersonBuilding taPersonBuilding = taPersonBuildingMapper.selectOne(taPersonBuildingQueryWrapper);
|
873
|
874
|
|
874
|
875
|
if (null == userInfo || CommConstant.STATUS_NORMAL != userInfo.getStatus()) {
|