|
|
@@ -1,13 +1,13 @@
|
|
|
package com.sckw.freight.controller;
|
|
|
|
|
|
-import com.github.xiaoymin.knife4j.annotations.DynamicParameter;
|
|
|
-import com.github.xiaoymin.knife4j.annotations.DynamicResponseParameters;
|
|
|
import com.sckw.freight.model.vo.request.RequestSettlementLogisticsPageInfo;
|
|
|
import com.sckw.freight.model.vo.response.ResponsePageData;
|
|
|
import com.sckw.freight.model.vo.response.ResponseSettlementLogistics;
|
|
|
import com.sckw.freight.service.freight.IKwpSettlementLogisticsService;
|
|
|
import com.sckw.freight.util.R;
|
|
|
import io.swagger.v3.oas.annotations.Operation;
|
|
|
+import io.swagger.v3.oas.annotations.Parameter;
|
|
|
+import io.swagger.v3.oas.annotations.Parameters;
|
|
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -42,12 +42,12 @@ public class SettlementLogisticsController {
|
|
|
**/
|
|
|
@GetMapping("/add")
|
|
|
@Operation(summary = "添加收款")
|
|
|
- @DynamicResponseParameters(name = "addSettlementLogistics", properties = {
|
|
|
- @DynamicParameter(name = "lLedgerId", value = "对账单id"),
|
|
|
- @DynamicParameter(name = "price", value = "付款金额"),
|
|
|
- @DynamicParameter(name = "slOrderNo", value = "付款单号"),
|
|
|
- @DynamicParameter(name = "payTime", value = "支付时间"),
|
|
|
- @DynamicParameter(name = "userid", value = "用户id"),
|
|
|
+ @Parameters(value = {
|
|
|
+ @Parameter(name = "lLedgerId", description = "对账单id"),
|
|
|
+ @Parameter(name = "price", description = "付款金额"),
|
|
|
+ @Parameter(name = "slOrderNo", description = "付款单号"),
|
|
|
+ @Parameter(name = "payTime", description = "支付时间"),
|
|
|
+ @Parameter(name = "userid", description = "用户id"),
|
|
|
})
|
|
|
public R<String> addSettlementLogistics(
|
|
|
@RequestParam(value = "lLedgerId", required = true)Long lLedgerId,
|