|
@@ -129,14 +129,10 @@ public class WxNotifyController {
|
|
|
//
|
|
|
if(wxJsOrder.getGoodsType()==null || wxJsOrder.getGoodsType()==1) { //VIP套餐
|
|
|
orderInfoService.writeVipDataToDb(wxJsOrder,1);
|
|
|
- wxJsOrderService.updateById(wxJsOrder);
|
|
|
- }
|
|
|
-
|
|
|
- if(wxJsOrder.getGoodsType()==2) { //考场
|
|
|
+ }else if(wxJsOrder.getGoodsType()==2) { //考场
|
|
|
orderInfoService.writeExamDataToDb(wxJsOrder,1);
|
|
|
- wxJsOrderService.updateById(wxJsOrder);
|
|
|
}
|
|
|
-
|
|
|
+ wxJsOrderService.updateById(wxJsOrder);
|
|
|
|
|
|
}
|
|
|
|