| | |
| | | import com.ruoyi.production.service.ProductionAccountService; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | |
| | | public R<IPage<ProductionProductMainDto>> listProductionDetails(ProductionAccountDto productionAccountDto, Page page) { |
| | | return R.ok(productionAccountService.listProductionDetails(productionAccountDto,page)); |
| | | } |
| | | |
| | | @PostMapping("/export") |
| | | @Operation(summary = "导出生产核算明细") |
| | | public void export(HttpServletResponse response, ProductionAccountDto dto) { |
| | | productionAccountService.exportDetails(response, dto); |
| | | } |
| | | } |