| | |
| | | dictDataService.removeById(dictCode); |
| | | return R.ok(); |
| | | } |
| | | |
| | | /** |
| | | * 医废类型列表 |
| | | * |
| | | * @return |
| | | */ |
| | | @ApiOperation("医废类型列表") |
| | | @GetMapping("/medicalWasteTypeList") |
| | | public R<List<SysDictDataVO>> medicalWasteTypeList() { |
| | | return R.ok(dictDataService.medicalWasteTypeList()); |
| | | } |
| | | |
| | | /** |
| | | * 器具类型列表 |
| | | * |
| | | * @return |
| | | */ |
| | | @ApiOperation("器具类型列表") |
| | | @GetMapping("/equipmentTypeList") |
| | | public R<List<SysDictDataVO>> equipmentTypeList() { |
| | | return R.ok(dictDataService.equipmentTypeList()); |
| | | } |
| | | |
| | | /** |
| | | * 规章制度类型列表 |
| | | * |
| | | * @return |
| | | */ |
| | | @ApiOperation("规章制度类型列表") |
| | | @GetMapping("/regulationsTypeList") |
| | | public R<List<SysDictDataVO>> regulationsTypeList() { |
| | | return R.ok(dictDataService.regulationsTypeList()); |
| | | } |
| | | |
| | | /** |
| | | * 作业类型 |
| | | * |
| | | * @return |
| | | */ |
| | | @ApiOperation("作业类型") |
| | | @GetMapping("/workTypeList") |
| | | public R<List<SysDictDataVO>> workTypeList() { |
| | | return R.ok(dictDataService.workTypeList()); |
| | | } |
| | | @PreAuthorize("@ss.hasPermi('system:dict:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysDictData dictData) |