|
@@ -112,6 +112,7 @@ public class MyOrderController {
|
|
|
Long l = pointsRecordMapper.statisticsPoint(userId, Math.toIntExact(order.getChannelId()));
|
|
Long l = pointsRecordMapper.statisticsPoint(userId, Math.toIntExact(order.getChannelId()));
|
|
|
orderShopDto.setTotalAvailableScore(l);
|
|
orderShopDto.setTotalAvailableScore(l);
|
|
|
orderShopDto.setReduceAmount(Arith.div(Double.valueOf(order.getOffsetPoints()), 100));
|
|
orderShopDto.setReduceAmount(Arith.div(Double.valueOf(order.getOffsetPoints()), 100));
|
|
|
|
|
+ orderShopDto.setTotalUsableScore(Double.valueOf(order.getOffsetPoints()));
|
|
|
orderShopDto.setCreateTime(order.getCreateTime());
|
|
orderShopDto.setCreateTime(order.getCreateTime());
|
|
|
orderShopDto.setRemarks(order.getRemarks());
|
|
orderShopDto.setRemarks(order.getRemarks());
|
|
|
orderShopDto.setOrderType(order.getOrderType());
|
|
orderShopDto.setOrderType(order.getOrderType());
|