| | |
| | | @GetMapping("/get") |
| | | @Operation(summary = "获得工单参数记录") |
| | | @Parameter(name = "id", description = "编号", required = true, example = "1024") |
| | | @PreAuthorize("@ss.hasPermission('mes:pro-work-order:query')") |
| | | public CommonResult<MesProWorkOrderParamRecordRespVO> getParamRecord(@RequestParam("id") Long id) { |
| | | MesProWorkOrderParamRecordDO record = paramRecordService.getParamRecord(id); |
| | | if (record == null) { |
| | |
| | | |
| | | @GetMapping("/page-by-work-order") |
| | | @Operation(summary = "按工单获得参数记录分页") |
| | | @PreAuthorize("@ss.hasPermission('mes:pro-work-order:query')") |
| | | public CommonResult<PageResult<MesProWorkOrderParamRecordRespVO>> getParamRecordPageByWorkOrderId( |
| | | @RequestParam("taskId") Long taskId, |
| | | @Valid MesProWorkOrderParamRecordPageReqVO pageReqVO) { |