|
|
@ -149,6 +149,14 @@ public class InvoiceController { |
|
|
|
return invoiceResponseService.response(result, companyservice, apiMethod); |
|
|
|
return invoiceResponseService.response(result, companyservice, apiMethod); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 开票请求接口-(蓝字发票开具,红字发票开具) |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @param request |
|
|
|
|
|
|
|
* @param identity |
|
|
|
|
|
|
|
* @return |
|
|
|
|
|
|
|
* @throws Exception |
|
|
|
|
|
|
|
*/ |
|
|
|
@Validated |
|
|
|
@Validated |
|
|
|
@ApiOperation("开票请求接口-(蓝字发票开具,红字发票开具)") |
|
|
|
@ApiOperation("开票请求接口-(蓝字发票开具,红字发票开具)") |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParams({ |
|
|
@ -892,12 +900,20 @@ public class InvoiceController { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* @Author: kk |
|
|
|
|
|
|
|
* @Description: 通用异步查询接口 |
|
|
|
|
|
|
|
* @DateTime: 2023/6/2 17:35 |
|
|
|
|
|
|
|
* @Params: |
|
|
|
|
|
|
|
* @Return |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
// TODO: 2023/4/6 全电接口
|
|
|
|
// TODO: 2023/4/6 全电接口
|
|
|
|
// @ApiOperation("通用异步查询接口")
|
|
|
|
// @ApiOperation("通用异步查询接口")
|
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@PostMapping({"/api/invoice/v2/queryResultInfo/{identity}", "/api/invoice/v2/queryResultInfo"}) |
|
|
|
@PostMapping({"/api/invoice/v1/queryResultInfo/{identity}", "/api/invoice/v1/queryResultInfo"}) |
|
|
|
public Object queryResultInfo(HttpServletRequest request, String identity) throws Exception { |
|
|
|
public Object queryResultInfo(HttpServletRequest request, String identity) throws Exception { |
|
|
|
if (StringUtils.isEmpty(identity)) { |
|
|
|
if (StringUtils.isEmpty(identity)) { |
|
|
|
return AjaxResult.error(ErrorCode.EMPTY_IDENTITY); |
|
|
|
return AjaxResult.error(ErrorCode.EMPTY_IDENTITY); |
|
|
@ -932,7 +948,7 @@ public class InvoiceController { |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@PostMapping({"/api/invoice_all/v2/getFileUrl/{identity}", "/api/invoice_all/v2/getFileUrl"}) |
|
|
|
@PostMapping({"/api/invoice/v1/getFileUrl/{identity}", "/api/invoice/v1/getFileUrl"}) |
|
|
|
public Object getFileUrl(HttpServletRequest request, String identity) throws Exception { |
|
|
|
public Object getFileUrl(HttpServletRequest request, String identity) throws Exception { |
|
|
|
if (StringUtils.isEmpty(identity)) { |
|
|
|
if (StringUtils.isEmpty(identity)) { |
|
|
|
return AjaxResult.error(ErrorCode.EMPTY_IDENTITY); |
|
|
|
return AjaxResult.error(ErrorCode.EMPTY_IDENTITY); |
|
|
@ -967,7 +983,7 @@ public class InvoiceController { |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@PostMapping({"/api/invoice_all/v2/getFileAcquisition/{identity}", "/api/invoice_all/v2/getFileAcquisition"}) |
|
|
|
@PostMapping({"/api/invoice/v1/getFileAcquisition/{identity}", "/api/invoice/v1/getFileAcquisition"}) |
|
|
|
public Object getFileAcquisition(HttpServletRequest request, String identity) throws Exception { |
|
|
|
public Object getFileAcquisition(HttpServletRequest request, String identity) throws Exception { |
|
|
|
|
|
|
|
|
|
|
|
// TODO: 2023/4/6 getFileAcquisitionOn
|
|
|
|
// TODO: 2023/4/6 getFileAcquisitionOn
|
|
|
@ -1005,7 +1021,7 @@ public class InvoiceController { |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@PostMapping({"/api/invoice_all/v2/qrcode/{identity}", "/api/invoice_all/v2/qrcode"}) |
|
|
|
@PostMapping({"/api/invoice/v1/qrcode/{identity}", "/api/invoice/v1/qrcode"}) |
|
|
|
public Object qrcode(HttpServletRequest request, String identity) throws Exception { |
|
|
|
public Object qrcode(HttpServletRequest request, String identity) throws Exception { |
|
|
|
|
|
|
|
|
|
|
|
// qrcode
|
|
|
|
// qrcode
|
|
|
@ -1041,7 +1057,7 @@ public class InvoiceController { |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@PostMapping({"/api/invoice_all/v2/query/{identity}", "/api/invoice_all/v2/query"}) |
|
|
|
@PostMapping({"/api/invoice1/v1/query/{identity}", "/api/invoice/v1/query"}) |
|
|
|
public Object query(HttpServletRequest request, String identity) throws Exception { |
|
|
|
public Object query(HttpServletRequest request, String identity) throws Exception { |
|
|
|
// query
|
|
|
|
// query
|
|
|
|
|
|
|
|
|
|
|
@ -1078,7 +1094,7 @@ public class InvoiceController { |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@PostMapping({"/api/invoice_all/v2/print_xml/{identity}", "/api/invoice_all/v2/print_xml"}) |
|
|
|
@PostMapping({"/api/invoice/v1/print_xml/{identity}", "/api/invoice/v1/print_xml"}) |
|
|
|
public Object printXmlml(HttpServletRequest request, String identity) throws Exception { |
|
|
|
public Object printXmlml(HttpServletRequest request, String identity) throws Exception { |
|
|
|
|
|
|
|
|
|
|
|
if (StringUtils.isEmpty(identity)) { |
|
|
|
if (StringUtils.isEmpty(identity)) { |
|
|
@ -1115,7 +1131,7 @@ public class InvoiceController { |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@PostMapping({"/api/invoice_all/v2/issueFastRedInvoice/{identity}", "/api/invoice_all/v2/issueFastRedInvoice"}) |
|
|
|
@PostMapping({"/api/invoice/v1/issueFastRedInvoice/{identity}", "/api/invoice/v1/issueFastRedInvoice"}) |
|
|
|
public Object issueFastRedInvoice(HttpServletRequest request, String identity) throws Exception { |
|
|
|
public Object issueFastRedInvoice(HttpServletRequest request, String identity) throws Exception { |
|
|
|
// issueFastRedInvoice
|
|
|
|
// issueFastRedInvoice
|
|
|
|
|
|
|
|
|
|
|
@ -1153,7 +1169,7 @@ public class InvoiceController { |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@PostMapping({"/api/invoice_all/v2/invoice_statistics/{identity}", "/api/invoice_all/v2/invoice_statistics"}) |
|
|
|
@PostMapping({"/api/invoice/v1/invoice_statistics/{identity}", "/api/invoice/v1/invoice_statistics"}) |
|
|
|
public Object invoiceStatistics(HttpServletRequest request, String identity) throws Exception { |
|
|
|
public Object invoiceStatistics(HttpServletRequest request, String identity) throws Exception { |
|
|
|
// invoiceStatic
|
|
|
|
// invoiceStatic
|
|
|
|
|
|
|
|
|
|
|
@ -1189,7 +1205,7 @@ public class InvoiceController { |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@PostMapping({"/api/invoice_all/v2/auditRedInfo/{identity}", "/api/invoice_all/v2/auditRedInfo"}) |
|
|
|
@PostMapping({"/api/invoice/v1/auditRedInfo/{identity}", "/api/invoice/v1/auditRedInfo"}) |
|
|
|
public Object auditRedInfo(HttpServletRequest request, String identity) throws Exception { |
|
|
|
public Object auditRedInfo(HttpServletRequest request, String identity) throws Exception { |
|
|
|
// auditRedInfo
|
|
|
|
// auditRedInfo
|
|
|
|
|
|
|
|
|
|
|
@ -1227,7 +1243,7 @@ public class InvoiceController { |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "string", example = "1130", required = true), |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", required = true)}) |
|
|
|
@PostMapping({"/api/invoice_all/v2/queryRedInfoDetail/{identity}", "/api/invoice_all/v2/queryRedInfoDetail"}) |
|
|
|
@PostMapping({"/api/invoice/v1/queryRedInfoDetail/{identity}", "/api/invoice/v1/queryRedInfoDetail"}) |
|
|
|
public Object queryRedInfoDetail(HttpServletRequest request, String identity) throws Exception { |
|
|
|
public Object queryRedInfoDetail(HttpServletRequest request, String identity) throws Exception { |
|
|
|
// auditRedInfo
|
|
|
|
// auditRedInfo
|
|
|
|
|
|
|
|
|
|
|
|