Sfoglia il codice sorgente

调整B端接口入参

liangbo.huang 2 settimane fa
parent
commit
230d579bf3

+ 7 - 4
trade-admin/src/main/java/com/trade/admin/trade/exportrebate/controller/ExportTaxRebateController.java

@@ -101,7 +101,8 @@ public class ExportTaxRebateController extends BaseController {
      */
     @PostMapping("/declarationBatch/refundAmount")
     @PreAuthorize("@ss.hasPermi('trade:exportTaxRebate.exportTaxRefund')")
-    public ResponseResult<BigDecimal> getRefundAmountForDeclarationBatch(ExportTaxRefundBatchRequest request) {
+    public ResponseResult<BigDecimal> getRefundAmountForDeclarationBatch(
+            @RequestBody ExportTaxRefundBatchRequest request) {
         return success(exportTaxRebateService.getRefundAmountForDeclarationBatch(request));
     }
 
@@ -113,7 +114,8 @@ public class ExportTaxRebateController extends BaseController {
      */
     @PostMapping("/declarationBatch/exportTaxRefund")
     @PreAuthorize("@ss.hasPermi('trade:exportTaxRebate.exportTaxRefund')")
-    public ResponseResult<Boolean> refundExportTaxForDeclarationBatch(ExportTaxRefundBatchRequest request) {
+    public ResponseResult<Boolean> refundExportTaxForDeclarationBatch(
+            @RequestBody ExportTaxRefundBatchRequest request) {
         return success(exportTaxRebateService.refundExportTaxForDeclarationBatch(request));
     }
 
@@ -125,7 +127,8 @@ public class ExportTaxRebateController extends BaseController {
      */
     @PostMapping("/exportDetails/refundAmount")
     @PreAuthorize("@ss.hasPermi('trade:exportTaxRebate.exportTaxRefund')")
-    public ResponseResult<BigDecimal> getRefundAmountForExportDetails(List<TaxRebateExportAbstractInfo> request) {
+    public ResponseResult<BigDecimal> getRefundAmountForExportDetails(
+            @RequestBody List<TaxRebateExportAbstractInfo> request) {
         return success(exportTaxRebateService.getRefundAmountForExportDetails(request));
     }
 
@@ -137,7 +140,7 @@ public class ExportTaxRebateController extends BaseController {
      */
     @PostMapping("/exportDetails/exportTaxRefund")
     @PreAuthorize("@ss.hasPermi('trade:exportTaxRebate.exportTaxRefund')")
-    public ResponseResult<Boolean> refundExportTaxForExportDetails(ExportTaxRefundDetailsRequest request) {
+    public ResponseResult<Boolean> refundExportTaxForExportDetails(@RequestBody ExportTaxRefundDetailsRequest request) {
         return success(exportTaxRebateService.refundExportTaxForExportDetails(request));
     }
 }