|
@@ -97,9 +97,11 @@ public class BuyOrderController extends AbstractController {
|
|
throw new ZSKKException(ErrorConstant.BUY_ORDER_ID_ERROR);
|
|
throw new ZSKKException(ErrorConstant.BUY_ORDER_ID_ERROR);
|
|
}
|
|
}
|
|
if (buyOrder.getPayStatus().equals(BuyOrderService.PAY_STATUS_PAYED)){
|
|
if (buyOrder.getPayStatus().equals(BuyOrderService.PAY_STATUS_PAYED)){
|
|
- throw new ZSKKException(ErrorConstant.ORDER_PAYED_ERROR);
|
|
|
|
|
|
+ return this.myorders(model);
|
|
|
|
+ }else{
|
|
|
|
+ return this.showPayOrdeDtail(model, buyOrder);
|
|
}
|
|
}
|
|
- return this.showPayOrdeDtail(model, buyOrder);
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
private String showPayOrdeDtail(Model model, BuyOrder buyOrder){
|
|
private String showPayOrdeDtail(Model model, BuyOrder buyOrder){
|