| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- package com.template.api;
- import com.template.model.pojo.SmartDataSourceLog;
- import com.template.model.result.CommonResult;
- import io.swagger.annotations.Api;
- import io.swagger.annotations.ApiOperation;
- import org.springframework.validation.BindingResult;
- import org.springframework.validation.annotation.Validated;
- import org.springframework.web.bind.annotation.*;
- /**
- * @Author: binguo
- * @Date: 2023/3/30 星期四 17:28
- * @Description: com.video.api
- * @Version: 1.0
- */
- @RequestMapping("/api/smartDataSourceLog")
- @Api(tags = {"SmartDataSourceLogControllerAPI"}, value = "操作日志记录")
- public interface SmartDataSourceLogControllerAPI {
- @PostMapping(value = "/insertSmartDataSourceLog")
- @ApiOperation(value = "添加操作日志记录", notes = "添加操作日志记录数据", httpMethod = "POST")
- CommonResult insertSmartDataSourceLog(@Validated @RequestBody SmartDataSourceLog smartDataSourceLog, BindingResult bindingResult);
- // @PostMapping(value = "/updateSmartDataSourceLogById")
- // @ApiOperation(value = "编辑操作日志记录数据", notes = "编辑操作日志记录数据", httpMethod = "POST")
- // CommonResult updateSmartDataSourceLogById(@Validated @RequestBody SmartDataSourceLog ra, BindingResult bindingResult);
- @GetMapping(value = "/queryPageSmartDataSourceLog")
- @ApiOperation(value = "操作日志记录分页数据", notes = "操作日志记录分页数据", httpMethod = "GET")
- CommonResult queryPageSmartDataSourceLogs(@RequestParam int currentPage,
- @RequestParam int pageCount,
- @RequestParam(required = false) String startTime,
- @RequestParam(required = false) String endTime,
- SmartDataSourceLog smartDataSourceLog);
- @GetMapping(value = "/queryDistinctActionName")
- @ApiOperation(value = "操作日志记录操作名称数据", notes = "操作日志记录操作名称数据", httpMethod = "GET")
- CommonResult queryDistinctActionName();
- @GetMapping(value = "/queryDistinctActionPeople")
- @ApiOperation(value = "操作日志记录操作人数据", notes = "操作日志记录操作人数据", httpMethod = "GET")
- CommonResult queryDistinctActionPeople();
- @GetMapping(value = "/queryDistinctActionModule")
- @ApiOperation(value = "操作日志记录操作模块数据", notes = "操作日志记录操作模块数据", httpMethod = "GET")
- CommonResult queryDistinctActionModule();
- @GetMapping(value = "/queryDistinctActionBusiness")
- @ApiOperation(value = "操作日志记录操作业务数据", notes = "操作日志记录操作业务数据", httpMethod = "GET")
- CommonResult queryDistinctActionBusiness();
- // @GetMapping(value = "/deleteSmartDataSourceLogById")
- // @ApiOperation(value = "根据ID删除指定操作日志记录", notes = "根据ID删除指定操作日志记录", httpMethod = "GET")
- // CommonResult deleteSmartDataSourceLogById(@RequestParam int id);
- }
|