diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/bigScreen/controller/CompSystemBigScreenController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/bigScreen/controller/CompSystemBigScreenController.java index 237f7ebd..b96c24f1 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/bigScreen/controller/CompSystemBigScreenController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/bigScreen/controller/CompSystemBigScreenController.java @@ -4,6 +4,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; import org.jeecg.common.api.vo.Result; +import org.jeecg.common.aspect.annotation.AutoLog; import org.jeecg.modules.demo.abilityEvaluation.entity.PersonalAbilityEvaluation; import org.jeecg.modules.demo.bigScreen.service.CompSystemBigScreenService; import org.springframework.beans.factory.annotation.Autowired; @@ -31,6 +32,7 @@ public class CompSystemBigScreenController /*extends JeecgController*/ { @Autowired private CompSystemBigScreenService compSystemBigScreenService; + @AutoLog(value = "河南机电-比赛数据综合大屏") @ApiOperation(value = "河南机电-比赛数据综合展示", notes = "河南机电-比赛数据综合展示") @GetMapping(value = "/composite") public Result composite(HttpServletRequest req) { @@ -38,6 +40,7 @@ public class CompSystemBigScreenController /*extends JeecgController*/ { return Result.ok(result); } + @AutoLog(value = "河南机电-部门大屏") @ApiOperation(value = "河南机电-部门比赛数据展示", notes = "河南机电-部门比赛数据展示") @GetMapping(value = "/depart") public Result bigScreen4Depart(String departId) { @@ -45,6 +48,7 @@ public class CompSystemBigScreenController /*extends JeecgController*/ { return Result.ok(result); } + @AutoLog(value = "河南机电-单个比赛大屏") @ApiOperation(value = "河南机电-单个比赛数据展示", notes = "河南机电-单个比赛数据展示") @GetMapping(value = "/singleComp") public Result singleComp(String compId) { @@ -52,6 +56,7 @@ public class CompSystemBigScreenController /*extends JeecgController*/ { return Result.ok(result); } + @AutoLog(value = "河南机电-学生个人能力大屏") @ApiOperation(value = "学生个人能力大屏", notes = "学生个人能力大屏") @GetMapping(value = "/student") public Result bigScreen4Student(String workNo) { @@ -59,24 +64,28 @@ public class CompSystemBigScreenController /*extends JeecgController*/ { return Result.ok(result); } + @AutoLog(value = "院系-参赛大屏") @ApiOperation(value = "河南机电-院系参赛大屏数据", notes = "河南机电-院系参赛大屏数据") @GetMapping(value = "/canSai") public Result canSai() { return Result.ok(compSystemBigScreenService.canSai()); } + @AutoLog(value = "院系-能力大屏") @ApiOperation(value = "河南机电-院系能力大屏数据", notes = "河南机电-院系能力大屏数据") @GetMapping(value = "/nengLi") public Result nengLi() { return Result.ok(compSystemBigScreenService.nengLi()); } + @AutoLog(value = "院系-获奖大屏") @ApiOperation(value = "河南机电-院系获奖大屏数据", notes = "河南机电-院系获奖大屏数据") @GetMapping(value = "/huoJiang") public Result huoJiang() { return Result.ok(compSystemBigScreenService.huoJiang()); } + @AutoLog(value = "院系-得分大屏") @ApiOperation(value = "河南机电-院系各比赛类型得分大屏数据", notes = "河南机电-院系各比赛类型得分大屏数据") @GetMapping(value = "/deFei") public Result deFei() { diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/homepage/controller/UserHomePageController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/homepage/controller/UserHomePageController.java index 315dbc5f..f2b2bb02 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/homepage/controller/UserHomePageController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/homepage/controller/UserHomePageController.java @@ -4,6 +4,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; import org.jeecg.common.api.vo.Result; +import org.jeecg.common.aspect.annotation.AutoLog; import org.jeecg.modules.demo.homepage.service.UserHomePageService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; @@ -28,6 +29,7 @@ public class UserHomePageController { @Autowired private UserHomePageService homePageService; + @AutoLog(value = "学校首页") @ApiOperation(value = "河南机电-学校首页", notes = "河南机电-学校首页") @GetMapping(value = "/school") public Result school(HttpServletRequest req) { @@ -35,6 +37,7 @@ public class UserHomePageController { return Result.ok(result); } + @AutoLog(value = "部门首页") @ApiOperation(value = "河南机电-部门首页", notes = "河南机电-部门首页") @GetMapping(value = "/depart") public Result depart(String orgCode) { @@ -42,6 +45,7 @@ public class UserHomePageController { return Result.ok(result); } + @AutoLog(value = "学校管理员-分析报告") @ApiOperation(value = "河南机电-学校综合报告", notes = "河南机电-学校综合报告") @GetMapping(value = "/report4School") public Result report4School(HttpServletRequest req) { @@ -49,6 +53,7 @@ public class UserHomePageController { return Result.ok(result); } + @AutoLog(value = "部门管理员-分析报告") @ApiOperation(value = "河南机电-部门综合报告", notes = "河南机电-部门综合报告") @GetMapping(value = "/report4Depart") public Result report4Depart(String orgCode) {