| | |
| | | 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 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; |
| | | |
| | | /** |
| | | * <br> |
| | |
| | | productionPlanService.loadProdData(); |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | @PostMapping("/combine") |
| | | @Log(title = "合并生产计划", businessType = BusinessType.INSERT) |
| | | public AjaxResult combine(@RequestBody ProductionPlanDto productionPlanDto) { |
| | | return AjaxResult.success(productionPlanService.combine(productionPlanDto)); |
| | | } |
| | | } |