| | |
| | | import com.ruoyi.productionPlan.dto.ProductionPlanDto; |
| | | import com.ruoyi.productionPlan.dto.ProductionPlanSummaryDto; |
| | | import com.ruoyi.productionPlan.service.ProductionPlanService; |
| | | 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; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | @PostMapping("/combine") |
| | | @Log(title = "合并生产计划", businessType = BusinessType.INSERT) |
| | | @ApiOperation("合并生产计划") |
| | | public AjaxResult combine(@RequestBody ProductionPlanDto productionPlanDto) { |
| | | return AjaxResult.success(productionPlanService.combine(productionPlanDto)); |
| | | } |
| | | |
| | | @GetMapping("/summaryByProductType") |
| | | @ApiOperation("按照产品类别汇总统计需求量") |
| | | @Log(title = "按照产品类别汇总统计需求量", businessType = BusinessType.OTHER) |