| | |
| | | package com.gkhy.exam.admin.system; |
| | | |
| | | import com.gkhy.exam.common.annotation.Log; |
| | | import com.gkhy.exam.common.annotation.RepeatSubmit; |
| | | import com.gkhy.exam.common.api.CommonResult; |
| | | import com.gkhy.exam.common.domain.entity.SysDictData; |
| | | import com.gkhy.exam.common.enums.BusinessType; |
| | |
| | | |
| | | } |
| | | |
| | | @RepeatSubmit |
| | | @PreAuthorize("hasAnyAuthority('train:exam:system')") |
| | | @Log(title = "字典数据", businessType = BusinessType.INSERT) |
| | | @ApiOperation(value = "新增字典数据") |
| | |
| | | return CommonResult.success(dictDataServic.insertDictData(dictData)); |
| | | } |
| | | |
| | | @RepeatSubmit |
| | | @PreAuthorize("hasAnyAuthority('train:exam:system')") |
| | | @Log(title = "字典数据", businessType = BusinessType.UPDATE) |
| | | @ApiOperation(value = "编辑字典数据") |
| | |
| | | return CommonResult.success(dictDataServic.updateDictData(dictData)); |
| | | } |
| | | |
| | | @RepeatSubmit |
| | | @PreAuthorize("hasAnyAuthority('train:exam:system')") |
| | | @Log(title = "字典类型", businessType = BusinessType.DELETE) |
| | | @ApiOperation(value = "删除字典数据") |