| | |
| | | @GetMapping("/list-by-process") |
| | | @Operation(summary = "获得工序绑定的工艺参数列表(按工序编号)") |
| | | @Parameter(name = "processId", description = "工序编号", required = true, example = "1024") |
| | | @PreAuthorize("@ss.hasPermission('mes:pro-process:query')") |
| | | public CommonResult<List<MesProProcessParamRespVO>> getProcessParamListByProcessId(@RequestParam("processId") Long processId) { |
| | | List<MesProProcessParamDO> list = processParamService.getProcessParamListByProcessId(processId); |
| | | return success(buildRespVOList(list)); |
| | |
| | | @GetMapping("/list-by-param") |
| | | @Operation(summary = "获得工艺参数被绑定的工序列表(按工艺参数编号)") |
| | | @Parameter(name = "paramId", description = "工艺参数编号", required = true, example = "1024") |
| | | @PreAuthorize("@ss.hasPermission('mes:pro-process:query')") |
| | | public CommonResult<List<MesProProcessRespVO>> getProcessListByParamId(@RequestParam("paramId") Long paramId) { |
| | | List<MesProProcessParamDO> list = processParamService.getProcessParamListByParamId(paramId); |
| | | if (CollUtil.isEmpty(list)) { |