|
@@ -395,7 +395,7 @@ public class SecondGoodsServiceImpl extends ServiceImpl<SecondGoodsMapper, Secon
|
|
|
SecondReportingVo reportingVo = new SecondReportingVo();
|
|
SecondReportingVo reportingVo = new SecondReportingVo();
|
|
|
|
|
|
|
|
// 查询用户表 根据举报用户类型和举报用户ID 查询 life_user 表 user_phone
|
|
// 查询用户表 根据举报用户类型和举报用户ID 查询 life_user 表 user_phone
|
|
|
- LifeUser reporter = lifeUserMapper.selectById(report.getReportedUserId());
|
|
|
|
|
|
|
+ LifeUser reporter = lifeUserMapper.selectById(report.getReportingUserId());
|
|
|
if (reporter != null) {
|
|
if (reporter != null) {
|
|
|
// 处理举报用户名称 life_user 表 user_name
|
|
// 处理举报用户名称 life_user 表 user_name
|
|
|
reportingVo.setReportingUserName(reporter.getUserName());
|
|
reportingVo.setReportingUserName(reporter.getUserName());
|