| | |
| | | import com.ruoyi.framework.web.domain.AjaxResult; |
| | | import com.ruoyi.quality.pojo.QualityTestStandard; |
| | | import com.ruoyi.quality.service.IQualityTestStandardService; |
| | | import com.ruoyi.staff.pojo.StaffJoinLeaveRecord; |
| | | import com.ruoyi.staff.pojo.StaffOnJob; |
| | | import com.ruoyi.staff.service.IStaffOnJobService; |
| | | import org.springframework.util.CollectionUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 检测指标维护 |
| | | * <p> |
| | | * 检测标准主表 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @since 2026-01-13 03:40:24 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/quality/qualityTestStandard") |
| | | @RequestMapping("/qualityTestStandard") |
| | | public class QualityTestStandardController { |
| | | |
| | | @Resource |
| | |
| | | |
| | | |
| | | /** |
| | | * 新增检测指标维护 |
| | | * 新增检测标准主表 |
| | | * @param qualityTestStandard |
| | | * @return |
| | | */ |
| | |
| | | } |
| | | |
| | | /** |
| | | * 删除检测指标维护 |
| | | * 删除检测标准主表 |
| | | * @param ids |
| | | * @return |
| | | */ |
| | |
| | | } |
| | | |
| | | /** |
| | | * 检测指标维护详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("/{id}") |
| | | public AjaxResult QualityTestStandardDetail(@PathVariable("id") Integer id) { |
| | | return AjaxResult.success(qualityTestStandardService.getById(id)); |
| | | } |
| | | |
| | | /** |
| | | * 检测指标维护修改 |
| | | * 检测标准主表修改 |
| | | * @param qualityTestStandard |
| | | * @return |
| | | */ |
| | |
| | | } |
| | | |
| | | /** |
| | | *检测指标维护分页查询 |
| | | *检测标准主表分页查询 |
| | | * @param page |
| | | * @param qualityTestStandard |
| | | * @return |
| | |
| | | } |
| | | |
| | | /** |
| | | * 检测指标维护导出 |
| | | * @param response |
| | | * 检测标准复制参数 |
| | | * @param qualityTestStandard |
| | | * @return |
| | | */ |
| | | @PostMapping("/export") |
| | | public void qualityTestStandardListPageExport(HttpServletResponse response,QualityTestStandard qualityTestStandard) { |
| | | qualityTestStandardService.qualityTestStandardListPageExport(response, qualityTestStandard); |
| | | @PostMapping("/copyParam") |
| | | public AjaxResult copyParam(@RequestBody QualityTestStandard qualityTestStandard) { |
| | | return AjaxResult.success(qualityTestStandardService.copyParam(qualityTestStandard)); |
| | | } |
| | | |
| | | |
| | | } |