| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.by4cloud.platformx.business.dto.PaymentConfirmQueryDTO; |
| | | import com.by4cloud.platformx.business.dto.PaymentSlipQueryDTO; |
| | | import com.by4cloud.platformx.business.dto.SyncPaymentRecepitDTO; |
| | | import com.by4cloud.platformx.business.entity.PaymentConfirm; |
| | | import com.by4cloud.platformx.business.entity.PaymentSlip; |
| | | import com.by4cloud.platformx.business.service.PaymentConfirmService; |
| | | import com.by4cloud.platformx.business.service.PaymentSlipService; |
| | | import com.by4cloud.platformx.common.core.util.R; |
| | | import com.by4cloud.platformx.common.security.annotation.Inner; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.security.SecurityRequirement; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | |
| | | */ |
| | | @RestController |
| | | @RequiredArgsConstructor |
| | | @RequestMapping("/paymentSlip" ) |
| | | @RequestMapping("/paymentSlip" ) |
| | | @Tag(description = "paymentSlip" , name = "收款单" ) |
| | | @SecurityRequirement(name = HttpHeaders.AUTHORIZATION) |
| | | public class PaymentSlipController { |
| | |
| | | /** |
| | | * 定时查询收款单 |
| | | */ |
| | | @Inner(value = false) |
| | | @GetMapping("syncPaymentRecepit") |
| | | public R syncPaymentRecepit(){ |
| | | return paymentConfirmService.syncPaymentRecepit(); |
| | | public R syncPaymentRecepit(SyncPaymentRecepitDTO dto){ |
| | | return paymentConfirmService.syncPaymentRecepit(dto); |
| | | } |
| | | |
| | | /** |
| | | * 定时查询收款单 |
| | | */ |
| | | @Inner(value = false) |
| | | @GetMapping("syncPaymentRecepitHandle") |
| | | public R syncPaymentRecepitHandle(@ParameterObject SyncPaymentRecepitDTO dto){ |
| | | return paymentConfirmService.syncPaymentRecepit(dto); |
| | | } |
| | | } |