Merge branch 'dev_yy' into 2.0-dev

* dev_yy: (25 commits)
  提交代理商
  1
  1
  提交实物
  提交代码
  提交代码
  提交代码
  提交抽奖代码
  1
  提交代码
  提交代码
  提交代码
  提交代码
  提交代码
  提交
  1
  1
  修改首页没有积分专区
  提交代码
  修改小程序注册用券
  ...

# Conflicts:
#	hai-cweb/src/main/java/com/cweb/controller/HighTestController.java
#	hai-service/src/main/java/com/hai/common/utils/DateUtil.java
#	hai-service/src/main/java/com/hai/common/utils/RequestUtils.java
#	hai-service/src/main/java/com/hai/dao/HighChildOrderMapper.java
#	hai-service/src/main/java/com/hai/dao/HighChildOrderSqlProvider.java
#	hai-service/src/main/java/com/hai/dao/HighOrderMapperExt.java
#	hai-service/src/main/java/com/hai/entity/HighChildOrder.java
#	hai-service/src/main/java/com/hai/entity/HighChildOrderExample.java
#	hai-service/src/main/java/com/hai/entity/HighOrder.java
#	hai-service/src/main/java/com/hai/entity/OutRechargeOrder.java
#	hai-service/src/main/java/com/hai/service/HighUserService.java
#	hai-service/src/main/java/com/hai/service/OutRechargeOrderService.java
#	hai-service/src/main/java/com/hai/service/impl/BsDistributionUserRelServiceImpl.java
#	hai-service/src/main/java/com/hai/service/impl/HighUserServiceImpl.java
#	hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.java
dev-discount
袁野 2 years ago
parent dcefad1b6c
commit 51b9c975c6
  1. 3
      hai-bweb/src/main/java/com/bweb/controller/BsMsgController.java
  2. 17
      hai-service/src/main/java/com/hai/order/service/impl/OrderServiceImpl.java

@ -49,7 +49,6 @@ public class BsMsgController {
public ResponseData getMsgByList( public ResponseData getMsgByList(
@RequestParam(value = "type", required = false) Integer type, @RequestParam(value = "type", required = false) Integer type,
@RequestParam(value = "jumpType", required = false) Integer jumpType, @RequestParam(value = "jumpType", required = false) Integer jumpType,
@RequestParam(value = "msgType", required = false) Integer msgType,
@RequestParam(value = "title", required = false) String title, @RequestParam(value = "title", required = false) String title,
@RequestParam(name = "pageNum", required = true) Integer pageNum, @RequestParam(name = "pageNum", required = true) Integer pageNum,
@RequestParam(name = "pageSize", required = true) Integer pageSize, HttpServletRequest request @RequestParam(name = "pageSize", required = true) Integer pageSize, HttpServletRequest request
@ -63,7 +62,7 @@ public class BsMsgController {
map.put("type", type); map.put("type", type);
map.put("jumpType", jumpType); map.put("jumpType", jumpType);
map.put("msgType", msgType); map.put("msgType", 2);
map.put("title", title); map.put("title", title);
map.put("companyId" , userInfoModel.getBsCompany().getId()); map.put("companyId" , userInfoModel.getBsCompany().getId());

@ -155,8 +155,6 @@ public class OrderServiceImpl implements OrderService {
child.setMemName(order.getMemName()); child.setMemName(order.getMemName());
child.setMemPhone(order.getMemPhone()); child.setMemPhone(order.getMemPhone());
/*********** 组装肯德基,星巴克,第三方会员充值 话费 请求数据************/
JSONObject object = thirdProductConfig.assembleOrder(order , child);
// 购买卡券 // 购买卡券
if (child.getGoodsType().equals(OrderChildGoodsType.TYPE1.getNumber())) { if (child.getGoodsType().equals(OrderChildGoodsType.TYPE1.getNumber())) {
@ -189,6 +187,10 @@ public class OrderServiceImpl implements OrderService {
// 肯德基 // 肯德基
} else if (child.getGoodsType().equals(OrderChildGoodsType.TYPE4.getNumber())) { } else if (child.getGoodsType().equals(OrderChildGoodsType.TYPE4.getNumber())) {
/*********** 组装肯德基,星巴克,第三方会员充值 话费 请求数据************/
JSONObject object = thirdProductConfig.assembleOrder(order , child);
order.setProductType(OrderProductType.PRODUCT_TYPE2.getNumber()); order.setProductType(OrderProductType.PRODUCT_TYPE2.getNumber());
// 创建肯德基订单业务 // 创建肯德基订单业务
List<HighChildOrder> couponOrderList = orderCreateHandleService.thirdPartyOrder(order , object); List<HighChildOrder> couponOrderList = orderCreateHandleService.thirdPartyOrder(order , object);
@ -206,6 +208,9 @@ public class OrderServiceImpl implements OrderService {
// 话费充值 // 话费充值
} else if (child.getGoodsType().equals(OrderChildGoodsType.TYPE6.getNumber())) { } else if (child.getGoodsType().equals(OrderChildGoodsType.TYPE6.getNumber())) {
/*********** 组装肯德基,星巴克,第三方会员充值 话费 请求数据************/
JSONObject object = thirdProductConfig.assembleOrder(order , child);
HighChildOrder childOrder = orderCreateHandleService.mobileRecharge(order , object); HighChildOrder childOrder = orderCreateHandleService.mobileRecharge(order , object);
childOrderList.add(childOrder); childOrderList.add(childOrder);
order.setTitle(childOrder.getGoodsName()); order.setTitle(childOrder.getGoodsName());
@ -227,6 +232,10 @@ public class OrderServiceImpl implements OrderService {
// 星巴克 // 星巴克
} else if (child.getGoodsType().equals(OrderChildGoodsType.TYPE9.getNumber())) { } else if (child.getGoodsType().equals(OrderChildGoodsType.TYPE9.getNumber())) {
/*********** 组装肯德基,星巴克,第三方会员充值 话费 请求数据************/
JSONObject object = thirdProductConfig.assembleOrder(order , child);
order.setProductType(OrderProductType.PRODUCT_TYPE1.getNumber()); order.setProductType(OrderProductType.PRODUCT_TYPE1.getNumber());
// 创建星巴克订单业务 // 创建星巴克订单业务
List<HighChildOrder> couponOrderList = orderCreateHandleService.thirdPartyOrder(order, object); List<HighChildOrder> couponOrderList = orderCreateHandleService.thirdPartyOrder(order, object);
@ -240,6 +249,10 @@ public class OrderServiceImpl implements OrderService {
} }
// 第三方充值 // 第三方充值
} else if (child.getGoodsType().equals(OrderChildGoodsType.TYPE10.getNumber())) { } else if (child.getGoodsType().equals(OrderChildGoodsType.TYPE10.getNumber())) {
/*********** 组装肯德基,星巴克,第三方会员充值 话费 请求数据************/
JSONObject object = thirdProductConfig.assembleOrder(order , child);
order.setProductType(OrderProductType.PRODUCT_TYPE3.getNumber()); order.setProductType(OrderProductType.PRODUCT_TYPE3.getNumber());
// 创建第三方充值订单业务 // 创建第三方充值订单业务
List<HighChildOrder> couponOrderList = orderCreateHandleService.thirdPartyOrder(order , object); List<HighChildOrder> couponOrderList = orderCreateHandleService.thirdPartyOrder(order , object);

Loading…
Cancel
Save