Commit 5e01efa7 by chongli

修复提示错误问题

parent 1da211f6
......@@ -215,10 +215,10 @@ public class CommuneOrderService extends AbstractOrderService<CommuneOrderBean,
//社员续费 add by caosy
BuyVoucherActivity buyoucherActivity = buyVoucherActivityDao.findById(communeOrderBean.getActivityId());
if(buyoucherActivity==null){
throw new OrderException(-41, "没有对应的活动,请检查");
throw new OrderException(-688, "没有对应的活动,请检查");
}
if(buyoucherActivity.getValid()==0){
throw new OrderException(-41, "该活动已经结束");
throw new OrderException(-688, "该活动已经结束");
}
communeOrderBean.setOrderName(buyoucherActivity.getActivityName());
if (StringUtils.isEmpty(communeOrderBean.getPayMode())) {
......
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 sign in to comment