| | |
| | | package com.gkhy.exam.admin.controller.web; |
| | | |
| | | import com.gkhy.exam.common.annotation.RepeatSubmit; |
| | | import com.gkhy.exam.common.api.CommonResult; |
| | | import com.gkhy.exam.system.domain.*; |
| | | import com.gkhy.exam.system.service.QualitySystemPlanService; |
| | |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "质量体系策划列表(分页)") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = false, value = "当前页,默认1"), |
| | | @ApiImplicitParam(paramType = "query", name = "pageSize", dataType = "int", required = false, value = "每页数目,默认10"), |
| | | }) |
| | | @GetMapping("/list") |
| | | public CommonResult listQualitySystemPlan(QualitySystemPlan qualitySystemPlan){ |
| | | return CommonResult.success(qualitySystemPlanService.selectQualitySystemPlanList(qualitySystemPlan)); |
| | | } |
| | | |
| | | /** |
| | | * 质量体系策划id查 |
| | | * @param planId |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "质量体系策划id查") |
| | | @GetMapping("/listByid") |
| | | public CommonResult listQualitySystemPlanByid(@RequestParam("planId") Integer planId){ |
| | | return qualitySystemPlanService.listQualitySystemPlanByid(planId); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | * @param qualitySystemPlan |
| | | * @return |
| | | */ |
| | | @RepeatSubmit |
| | | @ApiOperation(value = "质量体系策划新增") |
| | | @PostMapping("/insert") |
| | | public CommonResult insertQualitySystemPlan(@RequestBody QualitySystemPlan qualitySystemPlan){ |
| | |
| | | * @param qualitySystemPlan |
| | | * @return |
| | | */ |
| | | @RepeatSubmit |
| | | @ApiOperation(value = "质量体系策划修改") |
| | | @PostMapping("/update") |
| | | public CommonResult updateQualitySystemPlan(@RequestBody QualitySystemPlan qualitySystemPlan){ |