| | |
| | | package com.ruoyi.productionPlan.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.framework.web.domain.AjaxResult; |
| | | import com.ruoyi.productionPlan.dto.ProductionPlanDto; |
| | | import com.ruoyi.productionPlan.service.ProductionPlanService; |
| | | import com.ruoyi.staff.dto.StaffLeaveDto; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * <br> |
| | |
| | | @RestController |
| | | @RequestMapping("/productionPlan") |
| | | public class ProductionPlanController { |
| | | @Resource |
| | | private ProductionPlanService productionPlanService; |
| | | |
| | | @GetMapping("/listPage") |
| | | public AjaxResult productionPlanListPage(Page page, ProductionPlanDto productionPlanDto) { |
| | | return AjaxResult.success(productionPlanService.listPage(page, productionPlanDto)); |
| | | } |
| | | } |