|
|
|
@ -108,7 +108,7 @@ public class AisinoInvoiceRequestAdapterImpl implements IInvoiceRequestService { |
|
|
|
|
// 平台解密
|
|
|
|
|
try { |
|
|
|
|
// TODO: 2023/9/20
|
|
|
|
|
// order = JianshuiInvoiceDecryptUtil.decrypt(order, JKey);
|
|
|
|
|
order = JianshuiInvoiceDecryptUtil.decrypt(order, JKey); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
throw new JianshuiParamErrorException(ErrorCode.DECRYPT_ERROR, companyservice, "invoice"); |
|
|
|
@ -216,7 +216,7 @@ public class AisinoInvoiceRequestAdapterImpl implements IInvoiceRequestService { |
|
|
|
|
if (StringUtils.isBlank(billInfo.getSellerAccount())){ |
|
|
|
|
billInfo.setSellerAccount(json.getString("xsfyhzh")); |
|
|
|
|
} |
|
|
|
|
/*if (StringUtils.equals(serviceKey, "add")){ |
|
|
|
|
if (StringUtils.equals(serviceKey, "add")){ |
|
|
|
|
Environment environment = SpringUtils.getBean(Environment.class); |
|
|
|
|
String nsrsbhs = environment.getProperty("billing.limit.nsrsbh"); |
|
|
|
|
List<String> shList = Arrays.asList(nsrsbhs.split(",")); |
|
|
|
@ -253,7 +253,7 @@ public class AisinoInvoiceRequestAdapterImpl implements IInvoiceRequestService { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}*/ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
json = (JSONObject) JSONObject.toJSON(billInfo); |
|
|
|
|
} |
|
|
|
|