| | |
| | | |
| | | import com.ruoyi.framework.aspectj.lang.annotation.Log; |
| | | import com.ruoyi.framework.aspectj.lang.enums.BusinessType; |
| | | import com.ruoyi.framework.web.domain.AjaxResult; |
| | | import com.ruoyi.framework.web.controller.BaseController; |
| | | import com.ruoyi.framework.web.domain.R; |
| | | import com.ruoyi.technology.bean.dto.TechnologyOperationParamDto; |
| | | import com.ruoyi.technology.bean.vo.TechnologyOperationParamVo; |
| | |
| | | @RequestMapping("/technologyOperationParam") |
| | | @Tag(name = "工序参数") |
| | | @RequiredArgsConstructor |
| | | public class TechnologyOperationParamController { |
| | | public class TechnologyOperationParamController extends BaseController { |
| | | |
| | | private final TechnologyOperationParamService technologyOperationParamService; |
| | | |
| | |
| | | @DeleteMapping("/batchDelete/{id}") |
| | | @Log(title = "Delete technology operation param", businessType = BusinessType.DELETE) |
| | | @Operation(summary = "删除工序参数") |
| | | public AjaxResult batchDelete(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(technologyOperationParamService.batchDelete(id)); |
| | | public R<?> batchDelete(@PathVariable("id") Long id) { |
| | | return R.ok(technologyOperationParamService.batchDelete(id)); |
| | | } |
| | | } |