Commit 21b53524 by 周晓航

蜜雪->支付信息详情变动 新增2227商户用于测试

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent 0fb08e4f
...@@ -3184,10 +3184,6 @@ public class OrderAdapter { ...@@ -3184,10 +3184,6 @@ public class OrderAdapter {
UnifiedOrderRequest orderPayDto = new UnifiedOrderRequest(); UnifiedOrderRequest orderPayDto = new UnifiedOrderRequest();
orderPayDto.setPartnerId(orderBean.getCompanyId()); orderPayDto.setPartnerId(orderBean.getCompanyId());
orderPayDto.setBody(paymentRequest.getPrincipalName()); orderPayDto.setBody(paymentRequest.getPrincipalName());
if ("2080".equals(orderBean.getCompanyId())) {
//【ID1035981】【蜜雪冰城】订单C端,拼接order_body字段:蜜雪冰城+门店编号
orderPayDto.setBody("蜜雪冰城"+orderBean.getShopId());
}
orderPayDto.setNotifyUrl(paymentRequest.getReverseNotifyiDcUrl()); orderPayDto.setNotifyUrl(paymentRequest.getReverseNotifyiDcUrl());
orderPayDto.setStoreId(orderBean.getShopId()); orderPayDto.setStoreId(orderBean.getShopId());
orderPayDto.setTransId(transId); orderPayDto.setTransId(transId);
......
...@@ -121,6 +121,11 @@ public class OrderCommonService { ...@@ -121,6 +121,11 @@ public class OrderCommonService {
paymentRequest.setWxAppId(wxAppId); paymentRequest.setWxAppId(wxAppId);
AssortmentOpenPlatformWxapp wxApp = openPlatformWxappManager.findByPartnerIdAndWxappId(partnerId, wxAppId); AssortmentOpenPlatformWxapp wxApp = openPlatformWxappManager.findByPartnerIdAndWxappId(partnerId, wxAppId);
paymentRequest.setPrincipalName(wxApp.getPrincipalName()); paymentRequest.setPrincipalName(wxApp.getPrincipalName());
// 2227 测试商户号, 下个版本需要删除
if ("2080".equals(orderBean.getCompanyId()) || "2227".equals(orderBean.getCompanyId())) {
//【ID1035981】【蜜雪冰城】订单C端,拼接order_body字段:蜜雪冰城+门店编号
paymentRequest.setPrincipalName("蜜雪冰城"+orderBean.getShopId());
}
paymentRequest.setReverseNotifyiDcUrl(reverseNotifyiDcUrl); paymentRequest.setReverseNotifyiDcUrl(reverseNotifyiDcUrl);
//修改订单信息 //修改订单信息
OrderExtInfoDto orderExtInfoDto = JSONObject.parseObject(orderBean.getExtInfo(), OrderExtInfoDto.class) == null ? new OrderExtInfoDto() : JSONObject.parseObject(orderBean.getExtInfo(), OrderExtInfoDto.class); OrderExtInfoDto orderExtInfoDto = JSONObject.parseObject(orderBean.getExtInfo(), OrderExtInfoDto.class) == null ? new OrderExtInfoDto() : JSONObject.parseObject(orderBean.getExtInfo(), OrderExtInfoDto.class);
......
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