Commit e6d0eeed authored by zhangfeng's avatar zhangfeng

bugfix(723): 兑换记录详情更新人修改

parent c603e59e
...@@ -95,7 +95,15 @@ public class RewardRedeemServiceImpl extends AbstractService<RewardRedeemMapper, ...@@ -95,7 +95,15 @@ public class RewardRedeemServiceImpl extends AbstractService<RewardRedeemMapper,
if (id == null) { if (id == null) {
return null; return null;
} }
return rewardRedeemMapper.detail(id); RewardRedeemPageRespVO detail = rewardRedeemMapper.detail(id);
if (detail != null && detail.getEntrance() != PlatformTypeEnum.BACKEND.getValue()) {
detail.setCreatorName(detail.getMemberNameZh());
// 刚创建时更新人显示为兑换人
if (detail.getUpdateTime().equals(detail.getCreateTime())) {
detail.setUpdaterName(detail.getMemberNameZh());
}
}
return detail;
} }
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment