| | |
| | | import com.ruoyi.purchase.pojo.InvoicePurchase; |
| | | import com.ruoyi.purchase.service.IInvoicePurchaseService; |
| | | import com.ruoyi.waterrecord.pojo.WaterRecord; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | import java.util.List; |
| | | |
| | | @RestController |
| | | @Api(tags = "采购报表") |
| | | @Tag(name = "采购报表") |
| | | @RequestMapping("/purchase/report") |
| | | @AllArgsConstructor |
| | | public class AccountingReportController { |
| | |
| | | |
| | | @Log(title = "采购报表-项目利润导出", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | @ApiOperation("采购报表-项目利润导出") |
| | | @Operation(summary = "采购报表-项目利润导出") |
| | | public void export(HttpServletResponse response) { |
| | | Page page = new Page(-1,-1); |
| | | InvoicePurchaseReportDto waterRecord = new InvoicePurchaseReportDto(); |
| | |
| | | |
| | | @Log(title = "采购报表-增值税比对", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/exportTwo") |
| | | @ApiOperation("采购报表-增值税比对") |
| | | @Operation(summary = "采购报表-增值税比对") |
| | | public void exportTwo(HttpServletResponse response) { |
| | | Page page = new Page(-1,-1); |
| | | IPage<VatDto> result = invoicePurchaseService.listVat(page, null); |