| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.framework.aspectj.lang.annotation.Log; |
| | | import com.ruoyi.framework.aspectj.lang.enums.BusinessType; |
| | | import com.ruoyi.framework.web.controller.BaseController; |
| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * 导出付款登记列表 |
| | | * 导出付款流水列表 |
| | | */ |
| | | // @Log(title = "付款登记", businessType = BusinessType.EXPORT) |
| | | // @PostMapping("/export") |
| | | // public void export(HttpServletResponse response, PaymentRegistrationDto paymentRegistrationDto) |
| | | // { |
| | | // List<PaymentRegistrationDto> list = paymentRegistrationService.selectPaymentRegistrationList(paymentRegistrationDto); |
| | | // ExcelUtil<PaymentRegistration> util = new ExcelUtil<PaymentRegistration>(PaymentRegistration.class); |
| | | // util.exportExcel(response, list, "付款登记数据"); |
| | | // } |
| | | @Log(title = "导出付款流水列表", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PaymentRegistrationDto paymentRegistrationDto) |
| | | { |
| | | Page page = new Page<>(-1,-1); |
| | | IPage<PaymentRegistrationDto> paymentRegistrationDtoIPage = paymentHistoryListPage(page, paymentRegistrationDto); |
| | | ExcelUtil<PaymentRegistrationDto> util = new ExcelUtil<PaymentRegistrationDto>(PaymentRegistrationDto.class); |
| | | util.exportExcel(response, paymentRegistrationDtoIPage.getRecords(), "导出付款流水列表"); |
| | | } |
| | | |
| | | /** |
| | | * 获取付款登记详细信息 |