|
@@ -34,7 +34,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
* @author ruoyi
|
|
|
* @date 2021-11-23
|
|
|
*/
|
|
|
-@Api(value = "【请填写功能名称】控制器", tags = {"【请填写功能名称】管理"})
|
|
|
+@Api(value = "【通知分类】控制器", tags = {"【请填写功能名称】管理"})
|
|
|
@RequiredArgsConstructor(onConstructor_ = @Autowired)
|
|
|
@RestController
|
|
|
@RequestMapping("/system/classify")
|
|
@@ -43,9 +43,9 @@ public class InformClassifyController extends BaseController {
|
|
|
private final IInformClassifyService iInformClassifyService;
|
|
|
|
|
|
/**
|
|
|
- * 查询【请填写功能名称】列表
|
|
|
+ * 查询【通知分类】列表
|
|
|
*/
|
|
|
- @ApiOperation("查询【请填写功能名称】列表")
|
|
|
+ @ApiOperation("查询【通知分类】列表")
|
|
|
@PreAuthorize("@ss.hasPermi('system:classify:list')")
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo<InformClassifyVo> list(InformClassifyQueryBo bo) {
|
|
@@ -56,9 +56,9 @@ public class InformClassifyController extends BaseController {
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * 获取【请填写功能名称】详细信息
|
|
|
+ * 获取【通知分类】详细信息
|
|
|
*/
|
|
|
- @ApiOperation("获取【请填写功能名称】详细信息")
|
|
|
+ @ApiOperation("获取【通知分类】详细信息")
|
|
|
@PreAuthorize("@ss.hasPermi('system:classify:query')")
|
|
|
@GetMapping("/{classifyId}")
|
|
|
public AjaxResult<InformClassifyVo> getInfo(@PathVariable("classifyId" ) Long classifyId) {
|
|
@@ -66,22 +66,22 @@ public class InformClassifyController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 新增【请填写功能名称】
|
|
|
+ * 新增【通知分类】
|
|
|
*/
|
|
|
- @ApiOperation("新增【请填写功能名称】")
|
|
|
+ @ApiOperation("新增【通知分类】")
|
|
|
@PreAuthorize("@ss.hasPermi('system:classify:add')")
|
|
|
- @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
|
|
+ @Log(title = "【通知分类】", businessType = BusinessType.INSERT)
|
|
|
@PostMapping()
|
|
|
public AjaxResult<Void> add(@RequestBody InformClassifyAddBo bo) {
|
|
|
return toAjax(iInformClassifyService.insertByAddBo(bo) ? 1 : 0);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 修改【请填写功能名称】
|
|
|
+ * 修改【通知分类】
|
|
|
*/
|
|
|
- @ApiOperation("修改【请填写功能名称】")
|
|
|
+ @ApiOperation("修改【通知分类】")
|
|
|
@PreAuthorize("@ss.hasPermi('system:classify:edit')")
|
|
|
- @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
|
|
+ @Log(title = "【通知分类】", businessType = BusinessType.UPDATE)
|
|
|
@PostMapping("/edit")
|
|
|
public AjaxResult<Void> edit(@RequestBody InformClassifyEditBo bo) {
|
|
|
return toAjax(iInformClassifyService.updateByEditBo(bo) ? 1 : 0);
|