|
@@ -714,6 +714,10 @@ public class LotServiceImpl extends ServiceImpl<LotMapper,Lot> implements ILotSe
|
|
|
LotVO lotVO = new LotVO();
|
|
LotVO lotVO = new LotVO();
|
|
|
BeanUtils.copyProperties(lot, lotVO);
|
|
BeanUtils.copyProperties(lot, lotVO);
|
|
|
lotVO.setBids(userBids);
|
|
lotVO.setBids(userBids);
|
|
|
|
|
+ TraditionRule rule = StringUtils.isEmpty(lot.getRuleContent())
|
|
|
|
|
+ ? null
|
|
|
|
|
+ : JSON.parseObject(lot.getRuleContent(), TraditionRule.class);
|
|
|
|
|
+ lotVO.setStartPrice(Objects.isNull(rule) ? null : rule.getStartPrice());
|
|
|
lotVO.setCurrentPrice(Objects.nonNull(lot.getLastPrice()) ? lot.getLastPrice() : null);
|
|
lotVO.setCurrentPrice(Objects.nonNull(lot.getLastPrice()) ? lot.getLastPrice() : null);
|
|
|
lotVO.setSelfStatus(selfStatus);
|
|
lotVO.setSelfStatus(selfStatus);
|
|
|
return SensitiveDataUtils.handleViewDataSafe(lotVO);
|
|
return SensitiveDataUtils.handleViewDataSafe(lotVO);
|