Browse Source

修改检修管理日志注解

zhongwei
段飞宇 1 year ago
parent
commit
d00a540f5f
  1. 2
      hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/plan/controller/PlanController.java
  2. 6
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/access/controller/OperAccessLibraryDetailController.java
  3. 2
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/access/controller/OperAccessStatisticsController.java
  4. 2
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/access/controller/OperAccessTaskController.java

2
hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/plan/controller/PlanController.java

@ -74,7 +74,7 @@ public class PlanController extends BladeController {
@ApiOperation(value = "分页显示计划列表", notes = "传入plan") @ApiOperation(value = "分页显示计划列表", notes = "传入plan")
@OperationAnnotation(moduleName = "巡检管理",title = "巡检计划",operatorType = OperatorType.MOBILE,businessType = @OperationAnnotation(moduleName = "巡检管理",title = "巡检计划",operatorType = OperatorType.MOBILE,businessType =
BusinessType.GENCODE, BusinessType.GENCODE,
action = "分页显示计划列表") action = "分页显示显示计划列表")
public R<IPage<PlanEntity>> list(PlanListQueryVO plan, Query query, BladeUser bladeUser) { public R<IPage<PlanEntity>> list(PlanListQueryVO plan, Query query, BladeUser bladeUser) {
LambdaQueryWrapper<PlanEntity> queryWrapper = Condition.getQueryWrapper(new PlanEntity(),plan); LambdaQueryWrapper<PlanEntity> queryWrapper = Condition.getQueryWrapper(new PlanEntity(),plan);
if(plan.getStartTime()!=null){ if(plan.getStartTime()!=null){

6
hzims-service/operational/src/main/java/com/hnac/hzims/operational/access/controller/OperAccessLibraryDetailController.java

@ -2,6 +2,9 @@ package com.hnac.hzims.operational.access.controller;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.hnac.hzims.common.logs.annotation.OperationAnnotation;
import com.hnac.hzims.common.logs.enums.BusinessType;
import com.hnac.hzims.common.logs.enums.OperatorType;
import com.hnac.hzims.operational.access.dto.OperAccessLibraryDetailDTO; import com.hnac.hzims.operational.access.dto.OperAccessLibraryDetailDTO;
import com.hnac.hzims.operational.access.service.IOperAccessLibraryDetailService; import com.hnac.hzims.operational.access.service.IOperAccessLibraryDetailService;
import com.hnac.hzims.operational.access.vo.OperAccessLibraryDetailVO; import com.hnac.hzims.operational.access.vo.OperAccessLibraryDetailVO;
@ -80,6 +83,9 @@ public class OperAccessLibraryDetailController extends BladeController {
@GetMapping("/list") @GetMapping("/list")
@ApiOperationSupport(order = 50) @ApiOperationSupport(order = 50)
@ApiOperation(value = "分页 查询参数:pid,name") @ApiOperation(value = "分页 查询参数:pid,name")
@OperationAnnotation(moduleName = "检修管理",
title = "检修库",operatorType = OperatorType.MOBILE,businessType = BusinessType.GENCODE,
action = "分页检修库列表")
public R<IPage<OperAccessLibraryDetailVO>> list(OperAccessLibraryDetailDTO req, Query query) { public R<IPage<OperAccessLibraryDetailVO>> list(OperAccessLibraryDetailDTO req, Query query) {
return service.list(req, query); return service.list(req, query);
} }

2
hzims-service/operational/src/main/java/com/hnac/hzims/operational/access/controller/OperAccessStatisticsController.java

@ -86,7 +86,7 @@ public class OperAccessStatisticsController extends BladeController {
@ApiOperation(value = "分页 查询参数:pid,taskId,manager") @ApiOperation(value = "分页 查询参数:pid,taskId,manager")
@OperationAnnotation(moduleName = "检修管理",title = "检修记录",operatorType = OperatorType.MOBILE,businessType = @OperationAnnotation(moduleName = "检修管理",title = "检修记录",operatorType = OperatorType.MOBILE,businessType =
BusinessType.GENCODE, BusinessType.GENCODE,
action = "分页 查询参数:pid,taskId,manager") action = "分页查询检修记录列表")
public R<IPage<OperAccessStatisticsVO>> list(OperAccessStatisticsDTO req, Query query) { public R<IPage<OperAccessStatisticsVO>> list(OperAccessStatisticsDTO req, Query query) {
return service.list(req, Condition.getPage(query)); return service.list(req, Condition.getPage(query));
} }

2
hzims-service/operational/src/main/java/com/hnac/hzims/operational/access/controller/OperAccessTaskController.java

@ -87,7 +87,7 @@ public class OperAccessTaskController extends BladeController {
@ApiOperationSupport(order = 50) @ApiOperationSupport(order = 50)
@OperationAnnotation(moduleName = "检修管理",title = "我的检修任务",operatorType = OperatorType.MOBILE,businessType = @OperationAnnotation(moduleName = "检修管理",title = "我的检修任务",operatorType = OperatorType.MOBILE,businessType =
BusinessType.GENCODE, BusinessType.GENCODE,
action = "分页 查询参数:name,code,handler,status,planId,planCode") action = "分页查询我的检修任务列表")
@ApiOperation(value = "分页 查询参数:name,code,handler,status,planId,planCode") @ApiOperation(value = "分页 查询参数:name,code,handler,status,planId,planCode")
public R<IPage<OperAccessTaskVO>> list(OperAccessTaskDTO req, Query query) { public R<IPage<OperAccessTaskVO>> list(OperAccessTaskDTO req, Query query) {
return service.list(req, query); return service.list(req, query);

Loading…
Cancel
Save