From 5272425cadea45eb9569d811a76f563b1dd1452b Mon Sep 17 00:00:00 2001 From: guoshengxiong <1923636941@qq.com> Date: Fri, 28 Jun 2024 16:26:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=93=8D=E4=BD=9C=E6=B3=A8?= =?UTF-8?q?=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project/controller/ProjectController.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/main/java/com/zhgd/xmgl/modules/project/controller/ProjectController.java b/src/main/java/com/zhgd/xmgl/modules/project/controller/ProjectController.java index f5e0f6d64..6e1745b37 100644 --- a/src/main/java/com/zhgd/xmgl/modules/project/controller/ProjectController.java +++ b/src/main/java/com/zhgd/xmgl/modules/project/controller/ProjectController.java @@ -63,6 +63,7 @@ public class ProjectController { * * @return */ + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "一二级机构项目分页查询") @ApiOperation(value = "一二级机构项目分页查询", notes = "一二级机构项目分页查询") @ApiImplicitParams({ @ApiImplicitParam(name = "projectName", value = "项目名称", paramType = "body", required = false, dataType = "String"), @@ -80,6 +81,7 @@ public class ProjectController { return Result.success(projectService.selectCompanyProjectPage(map)); } + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "项目分页查询") @ApiOperation(value = "项目分页查询", notes = "项目分页查询") @ApiImplicitParams({ @ApiImplicitParam(name = "projectName", value = "项目名称", paramType = "body", required = false, dataType = "String"), @@ -94,6 +96,7 @@ public class ProjectController { } + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "查询企业所属项目列表") @ApiOperation(value = "查询企业所属项目列表", notes = "查询企业所属项目列表") @ApiImplicitParams({ @ApiImplicitParam(name = "projectName", value = "项目名称", paramType = "body", required = false, dataType = "String"), @@ -124,6 +127,7 @@ public class ProjectController { * @param dto * @return */ + @OperLog(operModul = "项目管理", operType = "添加", operDesc = "sj业务中台添加项目") @ApiOperation(value = "sj业务中台添加项目", notes = "sj业务中台添加项目", httpMethod = "POST") @PostMapping(value = "/sj/business/add") public Result addSjProject(@RequestBody @Validate SjProjectDto dto) { @@ -142,6 +146,7 @@ public class ProjectController { * @param dto * @return */ + @OperLog(operModul = "项目管理", operType = "更新", operDesc = "sj业务中台更新项目(根据项目编号projectNumber更新)") @ApiOperation(value = "sj业务中台更新项目(根据项目编号projectNumber更新)", notes = "sj业务中台更新项目(根据项目编号projectNumber更新)", httpMethod = "POST") @PostMapping(value = "/sj/business/update") public Result updateSjProject(@RequestBody @Validate SjProjectDto dto) { @@ -157,6 +162,7 @@ public class ProjectController { /** * sj业务中台删除项目(根据项目编号projectNumber删除) */ + @OperLog(operModul = "项目管理", operType = "删除", operDesc = "sj业务中台删除项目(根据项目编号projectNumber删除)") @ApiOperation(value = "sj业务中台删除项目(根据项目编号projectNumber删除)", notes = "sj业务中台删除项目(根据项目编号projectNumber删除)", httpMethod = "POST") @PostMapping(value = "/sj/business/delete") public Result deleteSjProject(@RequestParam String projectNumber) { @@ -220,6 +226,7 @@ public class ProjectController { * @param * @return */ + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "通过id查询项目信息") @ApiOperation(value = "通过id查询项目信息", notes = "通过id查询项目信息", httpMethod = "POST") @ApiImplicitParam(name = "projectId", value = "项目ID", paramType = "body", required = true, dataType = "Integer") @PostMapping(value = "/queryById") @@ -227,6 +234,7 @@ public class ProjectController { return Result.success(projectService.getProjectInfoById(map)); } + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "通过项目SN查询项目信息") @ApiOperation(value = "通过项目SN查询项目信息", notes = "通过项目SN查询项目信息", httpMethod = "POST") @ApiImplicitParam(name = "projectSn", value = "项目SN", paramType = "body", required = true, dataType = "String") @PostMapping(value = "/getProjectInfoBySn") @@ -240,6 +248,7 @@ public class ProjectController { * @param * @return */ + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "通过项目编号查询项目信息") @ApiOperation(value = "通过项目编号查询项目信息", notes = "通过项目编号查询项目信息", httpMethod = "POST") @ApiImplicitParam(name = "projectNumber", value = "项目编号", paramType = "body", required = true, dataType = "Integer") @PostMapping(value = "/getProjectByNumber") @@ -255,6 +264,7 @@ public class ProjectController { } + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "通过项目SN查询项目下设备点位列表") @ApiOperation(value = "通过项目SN查询项目下设备点位列表", notes = "通过项目SN查询项目下设备点位列表", httpMethod = "POST") @ApiImplicitParams({ @ApiImplicitParam(name = "projectSn", value = "项目SN", paramType = "body", required = true, dataType = "String"), @@ -280,6 +290,7 @@ public class ProjectController { return Result.ok(); } + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "分页列表查询项目") @ApiOperation(value = "分页列表查询项目", notes = "分页列表查询项目", httpMethod = "POST") @ApiImplicitParams({ @ApiImplicitParam(name = "projectName", value = "项目名称", paramType = "body", required = false, dataType = "String"), @@ -293,6 +304,7 @@ public class ProjectController { } + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "通过项目SN查询项目组织架构") @ApiOperation(value = "通过项目SN查询项目组织架构", notes = "通过项目SN查询项目组织架构", httpMethod = "POST") @ApiImplicitParam(name = "projectSn", value = "项目SN", paramType = "body", required = true, dataType = "String") @PostMapping(value = "/getProjectFrameworkInfoBySn") @@ -300,6 +312,7 @@ public class ProjectController { return Result.success(projectService.getProjectFrameworkInfoBySn(map)); } + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "查询所有项目列表") @ApiOperation(value = "查询所有项目列表", notes = "查询所有项目列表", httpMethod = "POST") @ApiImplicitParams({ @ApiImplicitParam(name = "sn", value = "项目SN或企业sn", paramType = "body", required = true, dataType = "String"), @@ -311,6 +324,7 @@ public class ProjectController { return Result.success(projectService.selectAllProjectInfoList(map)); } + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "查询项目所有设备数列表") @ApiOperation(value = "查询项目所有设备数列表", notes = "查询项目所有设备数列表", httpMethod = "POST") @ApiImplicitParams({ @ApiImplicitParam(name = "projectSn", value = "项目SN", paramType = "body", required = true, dataType = "String"), @@ -322,6 +336,7 @@ public class ProjectController { } + @OperLog(operModul = "项目管理", operType = "向外部接口下发项目基本信息数据", operDesc = "向外部接口下发项目基本信息数据") @ApiOperation(value = "向外部接口下发项目基本信息数据", notes = "向外部接口下发项目基本信息数据", httpMethod = "POST") @ApiImplicitParams({ @ApiImplicitParam(name = "projectSn", value = "项目SN", paramType = "body", required = true, dataType = "String"), @@ -332,6 +347,7 @@ public class ProjectController { return Result.ok(); } + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "通过项目编号查询项目视频列表") @ApiOperation(value = "通过项目编号查询项目视频列表", notes = "通过项目编号查询项目视频列表") @ApiImplicitParams({ @ApiImplicitParam(name = "projectNumber", value = "项目编号", paramType = "body", required = false, dataType = "String"), @@ -347,6 +363,7 @@ public class ProjectController { * @param projectSn 项目sn * @return 项目工期 */ + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "获取项目工期") @ApiOperation(value = "获取项目工期", notes = "获取项目工期") @ApiImplicitParam(name = "projectSn", value = "项目SN", paramType = "query", required = true, dataType = "String") @GetMapping(value = "/getProjectDuration") @@ -360,6 +377,7 @@ public class ProjectController { * @param * @return */ + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "查询每个不同工程类别的名称、数量") @ApiOperation(value = "查询每个不同工程类别的名称、数量", notes = "查询每个不同工程类别的名称、数量", httpMethod = "GET") @GetMapping(value = "/groupBy/projectType") public Result> groupByProjectType(Map map) { @@ -372,6 +390,7 @@ public class ProjectController { * @param * @return */ + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "查询每个不同项目进度的名称、数量") @ApiOperation(value = "查询每个不同项目进度的名称、数量", notes = "查询每个不同项目进度的名称、数量", httpMethod = "GET") @GetMapping(value = "/groupBy/projectProgress") public Result> groupByProjectProgress() { @@ -384,12 +403,14 @@ public class ProjectController { * @param * @return */ + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "查询sj的所有项目进度") @ApiOperation(value = "查询sj的所有项目进度", notes = "查询sj的所有项目进度", httpMethod = "GET") @GetMapping(value = "/getProjectProgress") public Result> getProjectProgress() { return Result.success(Arrays.asList(SanjiangProgressProjectEnum.values())); } + @OperLog(operModul = "项目管理", operType = "调外部接口,获取FMS监控⼤屏接⼊url", operDesc = "调外部接口,获取FMS监控⼤屏接⼊url") @ApiOperation(value = "调外部接口,获取FMS监控⼤屏接⼊url", notes = "调外部接口,获取FMS监控⼤屏接⼊url", httpMethod = "GET") @ApiImplicitParam(name = "projectSn", value = "项目SN", paramType = "query", required = true, dataType = "String") @GetMapping(value = "/getFmsMonitoringLargeScreenAccessUrl") @@ -398,6 +419,7 @@ public class ProjectController { return Result.success(rsMap); } + @OperLog(operModul = "项目管理", operType = "调外部接口,获取桩桩接⼊url", operDesc = "调外部接口,获取桩桩接⼊url") @ApiOperation(value = "调外部接口,获取桩桩接⼊url", notes = "调外部接口,获取桩桩接⼊url", httpMethod = "GET") @ApiImplicitParam(name = "projectSn", value = "项目SN", paramType = "query", required = true, dataType = "String") @GetMapping(value = "/getZhuangZhuangAccessUrl") @@ -406,6 +428,7 @@ public class ProjectController { return Result.success(rsMap); } + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "统计施工阶段") @ApiOperation(value = "统计施工阶段", notes = "统计施工阶段") @ApiImplicitParams({ @ApiImplicitParam(name = "sn", value = "公司sn", paramType = "body", required = true, dataType = "String"), @@ -415,6 +438,7 @@ public class ProjectController { return Result.success(projectService.countConstructionStage(map)); } + @OperLog(operModul = "项目管理", operType = "保存项目拓展字段信息", operDesc = "保存项目拓展字段信息") @ApiOperation(value = "保存项目拓展字段信息", notes = "保存项目拓展字段信息") @ApiImplicitParams({ @ApiImplicitParam(name = "projectSn", value = "项目SN", paramType = "body", required = true, dataType = "String") @@ -425,6 +449,7 @@ public class ProjectController { return Result.ok(); } + @OperLog(operModul = "项目管理", operType = "查询", operDesc = "查询项目拓展字段信息") @ApiOperation(value = "查询项目拓展字段信息", notes = "查询项目拓展字段信息") @ApiImplicitParams({ @ApiImplicitParam(name = "projectSn", value = "项目SN", paramType = "query", required = true, dataType = "String")