diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/controller/FocusAttributeController.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/controller/FocusAttributeController.java index d8459c5..dd5869a 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/controller/FocusAttributeController.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/controller/FocusAttributeController.java @@ -3,6 +3,7 @@ package com.hnac.hzims.operational.config.controller; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import org.springblade.core.log.annotation.ApiLog; import org.springblade.core.mp.support.Query; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.toolkit.Wrappers; @@ -44,6 +45,7 @@ public class FocusAttributeController extends BladeController { return R.status(attributeService.save(attributeEntity)); } + @ApiLog @PostMapping("/getMainList") @ApiOperation("查询列表(主界面)") @ApiOperationSupport(order = 1) @@ -58,7 +60,6 @@ public class FocusAttributeController extends BladeController { List focusAttributeEntityList = JSONArray.parseArray(JSON.toJSONString(focusAttributeDtoList),FocusAttributeEntity.class); return attributeService.modify(focusAttributeEntityList); } - @PostMapping("/list") @ApiOperation("查询列表") @ApiOperationSupport(order = 3) diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/controller/StFocusPropertiesController.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/controller/StFocusPropertiesController.java index a395457..c219e50 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/controller/StFocusPropertiesController.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/controller/StFocusPropertiesController.java @@ -6,6 +6,7 @@ import com.hnac.hzims.operational.config.entity.StFocusPropertiesEntity; import com.hnac.hzims.operational.config.service.StFocusPropertiesService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; +import org.springblade.core.log.annotation.ApiLog; import org.springblade.core.mp.support.Condition; import org.springblade.core.mp.support.Query; import org.springblade.core.tool.api.R; @@ -26,6 +27,7 @@ public class StFocusPropertiesController { private StFocusPropertiesService stFocusPropertiesService; + @ApiLog @ApiOperation("分页查询") @RequestMapping(value = "/pageList", method = RequestMethod.GET) public R> pageList(StFocusPropertiesEntity entity, Query query) { diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/controller/StationController.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/controller/StationController.java index 818f61b..3c2b31d 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/controller/StationController.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/controller/StationController.java @@ -61,7 +61,7 @@ public class StationController extends BladeController { IPage vos = stationService.list(entity,query); return R.data(vos); } - @ApiLog + @GetMapping("/detail/{id}") @ApiOperationSupport(order = 60) @ApiOperation(value = "查看详情", notes = "查看详情") @@ -72,7 +72,6 @@ public class StationController extends BladeController { /** * 新增 */ - @ApiLog @PostMapping("/save") @ApiOperationSupport(order = 20) @ApiOperation(value = "新增") diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/feign/StationVideoTypeClient.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/feign/StationVideoTypeClient.java index 06204f6..1692820 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/feign/StationVideoTypeClient.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/feign/StationVideoTypeClient.java @@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.hnac.hzims.operational.station.entity.StationVideoTypeEntity; import com.hnac.hzims.operational.station.service.IStationVideoTypeService; import lombok.AllArgsConstructor; +import org.springblade.core.log.annotation.ApiLog; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @@ -17,6 +18,7 @@ public class StationVideoTypeClient implements IStationVideoTypeClient { private final IStationVideoTypeService stationVideoTypeService; + @ApiLog @Override @PostMapping("/listByStationId") public List listByStationId(String stationId) { diff --git a/hzims-service/topvision/src/main/java/com/hnac/hzims/topvision/controller/TopvisionVideoController.java b/hzims-service/topvision/src/main/java/com/hnac/hzims/topvision/controller/TopvisionVideoController.java index e482ade..372391e 100644 --- a/hzims-service/topvision/src/main/java/com/hnac/hzims/topvision/controller/TopvisionVideoController.java +++ b/hzims-service/topvision/src/main/java/com/hnac/hzims/topvision/controller/TopvisionVideoController.java @@ -8,6 +8,7 @@ import io.swagger.annotations.ApiParam; import lombok.AllArgsConstructor; import javax.validation.Valid; import org.springblade.core.boot.ctrl.BladeController; +import org.springblade.core.log.annotation.ApiLog; import org.springblade.core.mp.support.Condition; import org.springblade.core.mp.support.Query; import org.springblade.core.tool.api.R; @@ -69,6 +70,7 @@ public class TopvisionVideoController extends BladeController { * @param companyId * @return */ + @ApiLog @GetMapping("/editList") @ApiOperationSupport(order = 2) @ApiOperation(value = "获取编辑列表 - 不分页", notes = "传入公司ID")