Commit 62cf040f by 胡敬轩

积分兑换

parent 0f8b0874
......@@ -25,7 +25,7 @@ public class ScoreRecordVo {
/**
* 兑换时间
*/
private String createTime;
private Long createTime;
/**
* 商品名称(券名称)
*/
......
......@@ -4121,7 +4121,9 @@ public class OrderServiceImpl implements Orderservice {
list.forEach(order->{
ScoreRecordVo responseVo = new ScoreRecordVo();
responseVo.setOrderCode(order.getOrderCode());
responseVo.setCreateTime(order.getCreateTime());
if (order.getCreateTime() != null) {
responseVo.setCreateTime(Long.parseLong(order.getCreateTime()));
}
if(CollectionUtils.isNotEmpty(order.getOrderItemList())){
responseVo.setProductName(order.getOrderItemList().get(0).getProductName());
responseVo.setProductQuantity(order.getOrderItemList().get(0).getProductQuantity());
......
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