|
|
|
@ -1697,6 +1697,8 @@ public class JcskInvoiceApiServiceImpl implements IInvoiceApiService { |
|
|
|
|
|
|
|
|
|
map.put("82", "q"); //全电普票
|
|
|
|
|
map.put("81", "r"); //全电专票
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (jcsk2js) { |
|
|
|
|
String resp = map.get(invoiceType); |
|
|
|
|
return StringUtils.isNotEmpty(resp) ? resp : invoiceType; |
|
|
|
@ -1706,6 +1708,10 @@ public class JcskInvoiceApiServiceImpl implements IInvoiceApiService { |
|
|
|
|
if (entry.getValue().equals(invoiceType)) { |
|
|
|
|
return entry.getKey(); |
|
|
|
|
} |
|
|
|
|
// 兼容一下数科的发票类型
|
|
|
|
|
if("81".equals(invoiceType) || "82".equals(invoiceType)){ |
|
|
|
|
return invoiceType; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return invoiceType; |
|
|
|
|