Merge branch 'dev' into 'test'
开票检验erp相关接口 See merge request jygk/dsc-base!23
This commit is contained in:
@@ -27,16 +27,16 @@ public class ErpElectronicInvoiceReversalReqDTO {
|
||||
private String reversal_reason;
|
||||
|
||||
@Schema(description = "冲销相关附件列表", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private List<String> filedata;
|
||||
private List<InvoiceReversalFileData> filedata;
|
||||
|
||||
// @Data
|
||||
// @Schema(description = "冲销附件信息")
|
||||
// public static class InvoiceReversalFileData {
|
||||
//
|
||||
// @Schema(description = "文件名;必须带文件后缀名;长度200位字符", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
// private String filename;
|
||||
//
|
||||
// @Schema(description = "文件内容;BASE64编码", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
// private String filect;
|
||||
// }
|
||||
@Data
|
||||
@Schema(description = "冲销附件信息")
|
||||
public static class InvoiceReversalFileData {
|
||||
|
||||
@Schema(description = "文件名;必须带文件后缀名;长度200位字符", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String filename;
|
||||
|
||||
@Schema(description = "文件内容;BASE64编码", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String filect;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -171,6 +171,7 @@ public class ErpInvoiceticketServiceImpl implements ErpInvoiceticketService {
|
||||
req.put("reason", reqDTO.getReason());
|
||||
req.put("no_invoicing", reqDTO.getNo_invoicing());
|
||||
req.put("filedata", reqDTO.getFiledata());
|
||||
submitReqDTO.setReq( req);
|
||||
return erpExternalApi.submitDataToErp(submitReqDTO);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user