| | |
| | | import com.ruoyi.framework.web.domain.AjaxResult; |
| | | import com.ruoyi.productionPlan.dto.ProductionPlanDto; |
| | | import com.ruoyi.productionPlan.service.ProductionPlanService; |
| | | import com.ruoyi.productionPlan.service.impl.ProdDemandService; |
| | | import com.ruoyi.staff.dto.StaffLeaveDto; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | |
| | | @RestController |
| | | @RequestMapping("/productionPlan") |
| | | @Api(tags = "主生产计划") |
| | | public class ProductionPlanController { |
| | | @Resource |
| | | private ProductionPlanService productionPlanService; |
| | | |
| | | @GetMapping("/listPage") |
| | | @ApiOperation("获取生产计划列表") |
| | | public AjaxResult productionPlanListPage(Page page, ProductionPlanDto productionPlanDto) { |
| | | return AjaxResult.success(productionPlanService.listPage(page, productionPlanDto)); |
| | | } |