| | |
| | | import com.ruoyi.production.service.ProductionPlanService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | |
| | | @Log(title = "删除生产计划", businessType = BusinessType.DELETE) |
| | | @ApiOperation("删除生产计划") |
| | | public R delete(@RequestBody List<Long> ids) { |
| | | return R.ok(productionPlanService.removeByIds(ids)); |
| | | return R.ok(productionPlanService.delete(ids)); |
| | | } |
| | | |
| | | @PostMapping("/downloadTemplate") |