| | |
| | | /** |
| | | * 获取检验报告管理列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:inspectionReport:list')") |
| | | @ApiOperation(value = "获取检验报告分页列表") |
| | | //@PreAuthorize("@ss.hasPermi('system:inspectionReport:list')") |
| | | @ApiOperation(value = "获取检验报告分页列表", response = TInspectionReportQuery.class) |
| | | @PostMapping(value = "/api/t-inspection-report/pageList") |
| | | public R<PageInfo<TInspectionReportVO>> pageList(@RequestBody String param) { |
| | | TInspectionReportQuery query = JSON.parseObject(param, TInspectionReportQuery.class); |
| | |
| | | /** |
| | | * 添加检验报告管理 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:inspectionReport:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:inspectionReport:add')") |
| | | @Log(title = "检验报告信息-新增检验报告", businessType = BusinessType.INSERT) |
| | | @ApiOperation(value = "添加检验报告",response = TInspectionReportDTO.class) |
| | | @PostMapping(value = "/api/t-inspection-report/add") |
| | |
| | | /** |
| | | * 修改检验报告 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:inspectionReport:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:inspectionReport:edit')") |
| | | @Log(title = "检验报告信息-修改检验报告", businessType = BusinessType.UPDATE) |
| | | @ApiOperation(value = "修改检验报告") |
| | | @PostMapping(value = "/api/t-inspection-report/update") |
| | |
| | | /** |
| | | * 查看检验报告详情 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:inspectionReport:detail')") |
| | | //@PreAuthorize("@ss.hasPermi('system:inspectionReport:detail')") |
| | | @ApiOperation(value = "查看检验报告详情") |
| | | @GetMapping(value = "/open/t-inspection-report/getDetailById") |
| | | public R<TInspectionReportVO> getDetailById(@RequestParam String id) { |
| | |
| | | /** |
| | | * 删除检验报告 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:inspectionReport:delete')") |
| | | //@PreAuthorize("@ss.hasPermi('system:inspectionReport:delete')") |
| | | @Log(title = "检验报告信息-删除检验报告", businessType = BusinessType.DELETE) |
| | | @ApiOperation(value = "删除检验报告") |
| | | @DeleteMapping(value = "/open/t-inspection-report/deleteById") |
| | |
| | | /** |
| | | * 批量删除检验报告 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:inspectionReport:delete')") |
| | | //@PreAuthorize("@ss.hasPermi('system:inspectionReport:delete')") |
| | | @Log(title = "检验报告信息-删除检验报告", businessType = BusinessType.DELETE) |
| | | @ApiOperation(value = "批量删除检验报告") |
| | | @DeleteMapping(value = "/open/t-inspection-report/deleteByIds") |