|
|
|
@ -200,11 +200,18 @@ public class OrderServiceImpl extends ServiceImpl<MtOrderMapper, MtOrder> implem
|
|
|
|
|
|
|
|
|
|
if (dataType.equals("toPay")) {
|
|
|
|
|
status = OrderStatusEnum.CREATED.getKey(); // 待支付
|
|
|
|
|
orderMode="";
|
|
|
|
|
} else if(dataType.equals("paid")) {
|
|
|
|
|
status = "";
|
|
|
|
|
payStatus = PayStatusEnum.SUCCESS.getKey(); // 已支付
|
|
|
|
|
orderMode="";
|
|
|
|
|
} else if(dataType.equals("cancel")) {
|
|
|
|
|
status = OrderStatusEnum.CANCEL.getKey(); // 已取消
|
|
|
|
|
orderMode="";
|
|
|
|
|
}else if(dataType.equals("delivered")) {
|
|
|
|
|
orderMode="";
|
|
|
|
|
status = OrderStatusEnum.DELIVERED.getKey(); // 已取消
|
|
|
|
|
}else if(dataType.equals("all")) {
|
|
|
|
|
orderMode="" ;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Page<MtOpenGift> pageHelper = PageHelper.startPage(pageNumber, pageSize);
|
|
|
|
|