From 193756b64c9c382d4bb445e872ecb7d586d3cdf6 Mon Sep 17 00:00:00 2001 From: yang_shj <1069818635@QQ.com> Date: Thu, 4 Jul 2024 10:29:29 +0800 Subject: [PATCH] =?UTF-8?q?#mybatis-plus=E4=B8=8D=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=88=86=E9=A1=B5=E5=8F=82=E6=95=B0=E4=B8=BA-1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/PresonManagementController.java | 10 ++++ .../hzims/basic/mapper/PersonManagemetMapper.java | 5 ++ .../hzims/basic/mapper/PersonManagemetMapper.xml | 48 +++++++++++++++++ .../basic/service/IImsPresonManagementService.java | 2 + .../service/impl/PresonManagementServiceImpl.java | 22 ++++++++ .../duty/controller/ImsDutyRecController.java | 11 ++++ .../duty/service/IImsDutyRecService.java | 2 + .../duty/service/impl/ImsDutyRecServiceImpl.java | 62 ++++++++++++++++++++-- .../station/controller/StationController.java | 9 +++- .../station/service/IStationService.java | 2 + .../station/service/impl/StationServiceImpl.java | 58 ++++++++++++++++++-- .../risk/controller/HazardCategoryController.java | 9 ++++ .../risk/controller/HazardWorkController.java | 8 +++ .../risk/service/HazardWorkService.java | 2 + .../service/impl/HazardCategoryServiceImpl.java | 1 - .../risk/service/impl/HazardWorkServiceImpl.java | 30 ++++++++++- 16 files changed, 270 insertions(+), 11 deletions(-) diff --git a/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/controller/PresonManagementController.java b/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/controller/PresonManagementController.java index 4f8a808..86a0dc7 100644 --- a/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/controller/PresonManagementController.java +++ b/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/controller/PresonManagementController.java @@ -54,6 +54,16 @@ public class PresonManagementController extends BladeController { return R.data(page); } + @GetMapping("/managements") + @ApiOperationSupport(order = 2) + @ApiOperation(value = "查询档案列表", notes = "传入imsDutyClass") + @OperationAnnotation(moduleName = "档案管理",title = "查询档案列表",operatorType = OperatorType.MOBILE,businessType = + BusinessType.GENCODE,action + = "档案管理") + public R> managements(PersonManagemetVo param) { + return R.data(iImsPresonManagementService.managements(param)); + } + /** * 新增或修改 */ diff --git a/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/mapper/PersonManagemetMapper.java b/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/mapper/PersonManagemetMapper.java index 60826a2..d2123bc 100644 --- a/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/mapper/PersonManagemetMapper.java +++ b/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/mapper/PersonManagemetMapper.java @@ -26,6 +26,11 @@ public interface PersonManagemetMapper extends UserDataScopeBaseMapper depetIds, @Param(value = "current")Integer current, @Param(value = "size")Integer size) ; + List managemets( + @Param(value = "type")String type, @Param(value = "deadStartTime") Date deadStartTime, @Param(value = "deadTime")Date deadTime, + @Param(value = "name")String name, @Param(value = "unitName")String unitName, @Param(value = "sex")String sex, @Param(value = "job")String job, + @Param(value = "academicTitle")String academicTitle, @Param(value = "status")Integer status, @Param(value = "depetIds")List depetIds) ; + Integer getCountByPersonManagemetEntity( @Param(value = "type")String type, @Param(value = "deadStartTime") Date deadStartTime, @Param(value = "deadTime")Date deadTime, diff --git a/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/mapper/PersonManagemetMapper.xml b/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/mapper/PersonManagemetMapper.xml index 5f70fd2..7c85fec 100644 --- a/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/mapper/PersonManagemetMapper.xml +++ b/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/mapper/PersonManagemetMapper.xml @@ -70,6 +70,54 @@ ORDER BY c.CREATE_TIME,BCREATE_TIME DESC + + +