|
@@ -893,7 +893,7 @@ public class TOrderController {
|
|
String result1 = null;
|
|
String result1 = null;
|
|
try {
|
|
try {
|
|
result1 = joinpayMchService.uniPay(
|
|
result1 = joinpayMchService.uniPay(
|
|
- orderNo2, amount, productName, productDesc,
|
|
|
|
|
|
+ orderNo2, amount, productName1, productDesc,
|
|
commonParameter, returnUrl, notifyUrl, frpCode2,
|
|
commonParameter, returnUrl, notifyUrl, frpCode2,
|
|
isShowPic, openId, authCode, appid, transactionModel, tradeMerchantNo,
|
|
isShowPic, openId, authCode, appid, transactionModel, tradeMerchantNo,
|
|
buyerId, isAlt, altType, altInfo, altUrl, marketingAmount
|
|
buyerId, isAlt, altType, altInfo, altUrl, marketingAmount
|
|
@@ -1250,7 +1250,12 @@ public class TOrderController {
|
|
orderDetails.setMachineType(equipment.getMachineType());
|
|
orderDetails.setMachineType(equipment.getMachineType());
|
|
|
|
|
|
String client6 = clientId.substring(clientId.length() - 6);
|
|
String client6 = clientId.substring(clientId.length() - 6);
|
|
- String productName1 = productName + "-" + equipment.getName() + "-" + client6;
|
|
|
|
|
|
+ String productName1 = "";
|
|
|
|
+ if(equipment.getMachineType() == null || equipment.getMachineType().equals("0")) {
|
|
|
|
+ productName1 = "棉花糖-" + equipment.getName() + "-" + client6;
|
|
|
|
+ } else {
|
|
|
|
+ productName1 = "爆米花-" + equipment.getName() + "-" + client6;
|
|
|
|
+ }
|
|
String result = null;
|
|
String result = null;
|
|
if(StringUtils.isNotEmpty(payPlatform)&&payPlatform.equals("1")){
|
|
if(StringUtils.isNotEmpty(payPlatform)&&payPlatform.equals("1")){
|
|
// 汇付分账参数
|
|
// 汇付分账参数
|
|
@@ -1721,7 +1726,12 @@ public class TOrderController {
|
|
orderDetails.setMachineType(equipment.getMachineType());
|
|
orderDetails.setMachineType(equipment.getMachineType());
|
|
|
|
|
|
String client6 = clientId.substring(clientId.length() - 6);
|
|
String client6 = clientId.substring(clientId.length() - 6);
|
|
- String productName1 = productName + "-" + equipment.getName() + "-" + client6;
|
|
|
|
|
|
+ String productName1 = "";
|
|
|
|
+ if(equipment.getMachineType() == null || equipment.getMachineType().equals("0")) {
|
|
|
|
+ productName1 = "棉花糖-" + equipment.getName() + "-" + client6;
|
|
|
|
+ } else {
|
|
|
|
+ productName1 = "爆米花-" + equipment.getName() + "-" + client6;
|
|
|
|
+ }
|
|
String result = null;
|
|
String result = null;
|
|
if(StringUtils.isNotEmpty(payPlatform)&&payPlatform.equals("1")){
|
|
if(StringUtils.isNotEmpty(payPlatform)&&payPlatform.equals("1")){
|
|
order.setAcctSplitBunch(acctSplitBunch.toString());
|
|
order.setAcctSplitBunch(acctSplitBunch.toString());
|