update 打印日志

This commit is contained in:
2023-09-12 08:33:45 +08:00
parent d9bbc35840
commit 919db803f1
5 changed files with 27 additions and 11 deletions

View File

@@ -165,6 +165,18 @@ public class OrderService {
return orderBasicInfoService.payOrder(dto);
}
/**
* 订单支付
* @param dto
*/
public Map<String, Object> payOrderV2(PayOrderDTO dto) {
String mode = pileMerchantInfoService.getDelayModeByWechatAppId(dto.getWechatAppId());
// 获取处理逻辑
AbstractOrderLogic orderLogic = OrderLogicFactory.getOrderLogic(mode);
Map<String, Object> map = orderLogic.payOrder(dto);
return map;
}
/**
* 结算订单
* endCharging
@@ -1268,11 +1280,5 @@ public class OrderService {
return orderPileOccupyService.payOccupyPileOrder(dto);
}
public Map<String, Object> payOrderV2(PayOrderDTO dto) {
String mode = pileMerchantInfoService.getDelayModeByWechatAppId(dto.getWechatAppId());
// 获取处理逻辑
AbstractOrderLogic orderLogic = OrderLogicFactory.getOrderLogic(mode);
Map<String, Object> map = orderLogic.payOrder(dto);
return map;
}
}