|
|
|
@ -2241,7 +2241,22 @@ public class FangGeInterfaceServiceImpl implements FangGeInterfaceService { |
|
|
|
|
if (OrderInfoEnum.TAX_EQUIPMENT_C48.getKey().equals(terminalCode) || OrderInfoEnum.TAX_EQUIPMENT_D60.getKey().equals(terminalCode)) { |
|
|
|
|
terminalCode = OrderInfoEnum.TAX_EQUIPMENT_FGHX.getKey(); |
|
|
|
|
} |
|
|
|
|
SqZcxxResponse sqZcxxResponse = HttpInvoiceRequestUtilFg.sqZcxx(invoiceConfig.configSqZcxxFg(), sqZcxxParam, terminalCode); |
|
|
|
|
|
|
|
|
|
String fgSkKpShList = baseServiceConfig.getFgSkKpShList(); |
|
|
|
|
|
|
|
|
|
String url = invoiceConfig.configSqZcxxFg(); |
|
|
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(fgSkKpShList) && StringUtils.isNotBlank(sqZcxxParam.getNSRSBH())) { |
|
|
|
|
String[] fgSkKpList = fgSkKpShList.split(ConfigureConstant.STRING_POINT2); |
|
|
|
|
for (String fgSkKp : fgSkKpList) { |
|
|
|
|
if (sqZcxxParam.getNSRSBH().equals(fgSkKp)) { |
|
|
|
|
url = invoiceConfig.configSqZcxxFg2(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
SqZcxxResponse sqZcxxResponse = HttpInvoiceRequestUtilFg.sqZcxx(url, sqZcxxParam, terminalCode); |
|
|
|
|
|
|
|
|
|
if (ConfigureConstant.STRING_0000.equals(sqZcxxResponse.getCode())) { |
|
|
|
|
//注册成功,返回注册码
|
|
|
|
|
String zcm = ""; |
|
|
|
|