Commit 27dba34e by 郑云飞

init

parent a0c11b4d
......@@ -62,7 +62,7 @@ public class GroupOrderServiceImpl implements GroupOrderService {
throw new ServiceException("团购活动不存在");
}
if (ObjectUtils.isEmpty(groupOrder)) {
List<Integer> list = JSON.parseArray(groupBuy.getAreaIds(), Integer.class);
List<Long> list = JSON.parseArray(groupBuy.getAreaIds(), Long.class);
if (!list.contains(item.getAreaId())) {
throw new ServiceException("小区不存在");
}
......
......@@ -108,8 +108,9 @@ public class OrderMainServiceImpl {
item.setIpaystatus(OrderMain.PAY_STATUS_NO);// 未支付
}
// item.setItype(OrderMain.ITYPE_TAKE);//外卖订单
if (item.getItype() == null) {
item.setItype(OrderMain.ITYPE_TAKE);//外卖订单
}
item.setIstatus(OrderMain.STATUS_NOPAY);//未付款
item.setIpaytype(10);//微信支付
......@@ -157,9 +158,9 @@ public class OrderMainServiceImpl {
if (item.getIpaystatus() == null) {
item.setIpaystatus(OrderMain.PAY_STATUS_NO);// 未支付
}
// item.setItype(OrderMain.ITYPE_TAKE);//外卖订单
if (item.getItype() == null) {
item.setItype(OrderMain.ITYPE_TAKE);//外卖订单
}
item.setIstatus(OrderMain.STATUS_NOPAY);//未付款
item.setIpaytype(30);//积分支付
......
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