| | |
| | | import com.by4cloud.platformx.business.dto.PaymentSlipQueryDTO; |
| | | 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 io.swagger.v3.oas.annotations.Operation; |
| | |
| | | public class PaymentSlipController { |
| | | |
| | | private final PaymentSlipService paymentSlipService; |
| | | private final PaymentConfirmService paymentConfirmService; |
| | | |
| | | /** |
| | | * 分页查询 |
| | |
| | | return R.ok(paymentSlipService.pageScope(page, queryDTO)); |
| | | } |
| | | |
| | | /** |
| | | * 定时查询收款单 |
| | | */ |
| | | @GetMapping("syncPaymentRecepit") |
| | | public R syncPaymentRecepit(){ |
| | | return paymentConfirmService.syncPaymentRecepit(); |
| | | } |
| | | } |