|
@@ -31,7 +31,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
|
|
|
/**
|
|
|
* 用户笔记记录Controller
|
|
|
- *
|
|
|
+ *
|
|
|
* @author ruoyi
|
|
|
* @date 2021-12-14
|
|
|
*/
|
|
@@ -47,7 +47,6 @@ public class UserNoteController extends BaseController {
|
|
|
* 查询用户笔记记录列表
|
|
|
*/
|
|
|
@ApiOperation("查询用户笔记记录列表")
|
|
|
- @PreAuthorize("@ss.hasPermi('system:note:list')")
|
|
|
@GetMapping("/listDate")
|
|
|
public TableDataInfo<UserDateNoteVo> listDate(UserNoteQueryBo bo) {
|
|
|
startPage();
|
|
@@ -60,7 +59,6 @@ public class UserNoteController extends BaseController {
|
|
|
* 新增用户笔记记录
|
|
|
*/
|
|
|
@ApiOperation("新增用户笔记记录")
|
|
|
- @PreAuthorize("@ss.hasPermi('system:note:add')")
|
|
|
@Log(title = "用户笔记记录", businessType = BusinessType.INSERT)
|
|
|
@PostMapping()
|
|
|
public AjaxResult<Void> add(@RequestBody UserNoteAddBo bo) {
|
|
@@ -71,11 +69,10 @@ public class UserNoteController extends BaseController {
|
|
|
* 修改用户笔记记录
|
|
|
*/
|
|
|
@ApiOperation("修改用户笔记记录")
|
|
|
- @PreAuthorize("@ss.hasPermi('system:note:edit')")
|
|
|
@Log(title = "用户笔记记录", businessType = BusinessType.UPDATE)
|
|
|
@PostMapping("edit")
|
|
|
public AjaxResult<Void> edit(@RequestBody UserNoteEditBo bo) {
|
|
|
return toAjax(iUserNoteService.updateByEditBo(bo) ? 1 : 0);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
}
|