| | |
| | | import com.mzl.flower.base.ReturnDataDTO; |
| | | import com.mzl.flower.dto.request.report.QueryOrderDTO; |
| | | import com.mzl.flower.dto.request.report.QueryPartnerOrderDTO; |
| | | import com.mzl.flower.dto.request.report.QuerySupplierDTO; |
| | | import com.mzl.flower.dto.response.report.OrderDetailReportResultVO; |
| | | import com.mzl.flower.dto.response.report.OrderReportResultVO; |
| | | import com.mzl.flower.dto.response.report.OrderSupplierReportResultVO; |
| | | import com.mzl.flower.service.report.OrderReportService; |
| | | import com.mzl.flower.utils.ConverterUtil; |
| | | import io.swagger.annotations.Api; |
| | |
| | | orderReportService.exportPartnerSalesList(response, dto); |
| | | } |
| | | |
| | | /** |
| | | * 花农结算报表 |
| | | */ |
| | | @GetMapping("/supplier/page") |
| | | @ApiOperation(value = "花农结算报表-分页", notes = "花农结算报表-分页") |
| | | public ResponseEntity<ReturnDataDTO<Page<OrderSupplierReportResultVO>>> supplier(Page page, QuerySupplierDTO dto) { |
| | | return returnData(R.SUCCESS.getCode(), orderReportService.getOrderSupplierPage(page, dto)); |
| | | } |
| | | |
| | | @GetMapping("/supplier/count") |
| | | @ApiOperation(value = "花农结算报表-统计", notes = "花农结算报表-统计") |
| | | public ResponseEntity<ReturnDataDTO<Page<OrderSupplierReportResultVO>>> supplierCount(QuerySupplierDTO dto) { |
| | | return returnData(R.SUCCESS.getCode(), orderReportService.getOrderSupplierClout(dto)); |
| | | } |
| | | |
| | | @GetMapping({"/supplier/export"}) |
| | | @ApiOperation(value = "花农结算报表导出") |
| | | public void supplierExports(HttpServletResponse response, QuerySupplierDTO dto) { |
| | | orderReportService.exportSupplierList(response, dto); |
| | | } |
| | | |
| | | |
| | | } |