chenshudong 1 miesiąc temu
rodzic
commit
79c130afd1
21 zmienionych plików z 2478 dodań i 0 usunięć
  1. 6 0
      airport-admin/pom.xml
  2. 100 0
      airport-admin/src/main/java/com/sundot/airport/web/controller/personnel/PersonnelMonthlyAssessmentIndicatorDetailController.java
  3. 100 0
      airport-admin/src/main/java/com/sundot/airport/web/controller/personnel/PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailController.java
  4. 100 0
      airport-admin/src/main/java/com/sundot/airport/web/controller/personnel/PersonnelNonCadreMonthlyAssessmentController.java
  5. 41 0
      airport-personnel/pom.xml
  6. 226 0
      airport-personnel/src/main/java/com/sundot/airport/personnel/domain/PersonnelMonthlyAssessmentIndicatorDetail.java
  7. 135 0
      airport-personnel/src/main/java/com/sundot/airport/personnel/domain/PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail.java
  8. 473 0
      airport-personnel/src/main/java/com/sundot/airport/personnel/domain/PersonnelNonCadreMonthlyAssessment.java
  9. 62 0
      airport-personnel/src/main/java/com/sundot/airport/personnel/mapper/PersonnelMonthlyAssessmentIndicatorDetailMapper.java
  10. 62 0
      airport-personnel/src/main/java/com/sundot/airport/personnel/mapper/PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper.java
  11. 62 0
      airport-personnel/src/main/java/com/sundot/airport/personnel/mapper/PersonnelNonCadreMonthlyAssessmentMapper.java
  12. 62 0
      airport-personnel/src/main/java/com/sundot/airport/personnel/service/IPersonnelMonthlyAssessmentIndicatorDetailService.java
  13. 62 0
      airport-personnel/src/main/java/com/sundot/airport/personnel/service/IPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailService.java
  14. 62 0
      airport-personnel/src/main/java/com/sundot/airport/personnel/service/IPersonnelNonCadreMonthlyAssessmentService.java
  15. 91 0
      airport-personnel/src/main/java/com/sundot/airport/personnel/service/impl/PersonnelMonthlyAssessmentIndicatorDetailServiceImpl.java
  16. 91 0
      airport-personnel/src/main/java/com/sundot/airport/personnel/service/impl/PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailServiceImpl.java
  17. 91 0
      airport-personnel/src/main/java/com/sundot/airport/personnel/service/impl/PersonnelNonCadreMonthlyAssessmentServiceImpl.java
  18. 174 0
      airport-personnel/src/main/resources/mapper/personnel/PersonnelMonthlyAssessmentIndicatorDetailMapper.xml
  19. 136 0
      airport-personnel/src/main/resources/mapper/personnel/PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper.xml
  20. 334 0
      airport-personnel/src/main/resources/mapper/personnel/PersonnelNonCadreMonthlyAssessmentMapper.xml
  21. 8 0
      pom.xml

+ 6 - 0
airport-admin/pom.xml

@@ -79,6 +79,12 @@
79 79
             <artifactId>airport-blocked</artifactId>
80 80
         </dependency>
81 81
 
82
+        <!-- 人事绩效模块-->
83
+        <dependency>
84
+            <groupId>com.sundot.airport</groupId>
85
+            <artifactId>airport-personnel</artifactId>
86
+        </dependency>
87
+
82 88
         <dependency>
83 89
             <groupId>org.projectlombok</groupId>
84 90
             <artifactId>lombok</artifactId>

+ 100 - 0
airport-admin/src/main/java/com/sundot/airport/web/controller/personnel/PersonnelMonthlyAssessmentIndicatorDetailController.java

@@ -0,0 +1,100 @@
1
+package com.sundot.airport.web.controller.personnel;
2
+
3
+import java.util.List;
4
+import javax.servlet.http.HttpServletResponse;
5
+
6
+import org.springframework.security.access.prepost.PreAuthorize;
7
+import org.springframework.beans.factory.annotation.Autowired;
8
+import org.springframework.web.bind.annotation.GetMapping;
9
+import org.springframework.web.bind.annotation.PostMapping;
10
+import org.springframework.web.bind.annotation.PutMapping;
11
+import org.springframework.web.bind.annotation.DeleteMapping;
12
+import org.springframework.web.bind.annotation.PathVariable;
13
+import org.springframework.web.bind.annotation.RequestBody;
14
+import org.springframework.web.bind.annotation.RequestMapping;
15
+import org.springframework.web.bind.annotation.RestController;
16
+import com.sundot.airport.common.annotation.Log;
17
+import com.sundot.airport.common.core.controller.BaseController;
18
+import com.sundot.airport.common.core.domain.AjaxResult;
19
+import com.sundot.airport.common.enums.BusinessType;
20
+import com.sundot.airport.personnel.domain.PersonnelMonthlyAssessmentIndicatorDetail;
21
+import com.sundot.airport.personnel.service.IPersonnelMonthlyAssessmentIndicatorDetailService;
22
+import com.sundot.airport.common.utils.poi.ExcelUtil;
23
+import com.sundot.airport.common.core.page.TableDataInfo;
24
+
25
+/**
26
+ * 月度考核指标明细Controller
27
+ *
28
+ * @author ruoyi
29
+ * @date 2026-05-07
30
+ */
31
+@RestController
32
+@RequestMapping("/personnel/indicatorDetail")
33
+public class PersonnelMonthlyAssessmentIndicatorDetailController extends BaseController {
34
+    @Autowired
35
+    private IPersonnelMonthlyAssessmentIndicatorDetailService personnelMonthlyAssessmentIndicatorDetailService;
36
+
37
+    /**
38
+     * 查询月度考核指标明细列表
39
+     */
40
+    @PreAuthorize("@ss.hasPermi('personnel:indicatorDetail:list')")
41
+    @GetMapping("/list")
42
+    public TableDataInfo list(PersonnelMonthlyAssessmentIndicatorDetail personnelMonthlyAssessmentIndicatorDetail) {
43
+        startPage();
44
+        List<PersonnelMonthlyAssessmentIndicatorDetail> list = personnelMonthlyAssessmentIndicatorDetailService.selectPersonnelMonthlyAssessmentIndicatorDetailList(personnelMonthlyAssessmentIndicatorDetail);
45
+        return getDataTable(list);
46
+    }
47
+
48
+    /**
49
+     * 导出月度考核指标明细列表
50
+     */
51
+    @PreAuthorize("@ss.hasPermi('personnel:indicatorDetail:export')")
52
+    @Log(title = "月度考核指标明细", businessType = BusinessType.EXPORT)
53
+    @PostMapping("/export")
54
+    public void export(HttpServletResponse response, PersonnelMonthlyAssessmentIndicatorDetail personnelMonthlyAssessmentIndicatorDetail) {
55
+        List<PersonnelMonthlyAssessmentIndicatorDetail> list = personnelMonthlyAssessmentIndicatorDetailService.selectPersonnelMonthlyAssessmentIndicatorDetailList(personnelMonthlyAssessmentIndicatorDetail);
56
+        ExcelUtil<PersonnelMonthlyAssessmentIndicatorDetail> util = new ExcelUtil<PersonnelMonthlyAssessmentIndicatorDetail>(PersonnelMonthlyAssessmentIndicatorDetail.class);
57
+        util.exportExcel(response, list, "月度考核指标明细数据");
58
+    }
59
+
60
+    /**
61
+     * 获取月度考核指标明细详细信息
62
+     */
63
+    @PreAuthorize("@ss.hasPermi('personnel:indicatorDetail:query')")
64
+    @GetMapping(value = "/{id}")
65
+    public AjaxResult getInfo(@PathVariable("id") Long id) {
66
+        return success(personnelMonthlyAssessmentIndicatorDetailService.selectPersonnelMonthlyAssessmentIndicatorDetailById(id));
67
+    }
68
+
69
+    /**
70
+     * 新增月度考核指标明细
71
+     */
72
+    @PreAuthorize("@ss.hasPermi('personnel:indicatorDetail:add')")
73
+    @Log(title = "月度考核指标明细", businessType = BusinessType.INSERT)
74
+    @PostMapping
75
+    public AjaxResult add(@RequestBody PersonnelMonthlyAssessmentIndicatorDetail personnelMonthlyAssessmentIndicatorDetail) {
76
+        personnelMonthlyAssessmentIndicatorDetail.setCreateBy(getUsername());
77
+        return toAjax(personnelMonthlyAssessmentIndicatorDetailService.insertPersonnelMonthlyAssessmentIndicatorDetail(personnelMonthlyAssessmentIndicatorDetail));
78
+    }
79
+
80
+    /**
81
+     * 修改月度考核指标明细
82
+     */
83
+    @PreAuthorize("@ss.hasPermi('personnel:indicatorDetail:edit')")
84
+    @Log(title = "月度考核指标明细", businessType = BusinessType.UPDATE)
85
+    @PutMapping
86
+    public AjaxResult edit(@RequestBody PersonnelMonthlyAssessmentIndicatorDetail personnelMonthlyAssessmentIndicatorDetail) {
87
+        personnelMonthlyAssessmentIndicatorDetail.setUpdateBy(getUsername());
88
+        return toAjax(personnelMonthlyAssessmentIndicatorDetailService.updatePersonnelMonthlyAssessmentIndicatorDetail(personnelMonthlyAssessmentIndicatorDetail));
89
+    }
90
+
91
+    /**
92
+     * 删除月度考核指标明细
93
+     */
94
+    @PreAuthorize("@ss.hasPermi('personnel:indicatorDetail:remove')")
95
+    @Log(title = "月度考核指标明细", businessType = BusinessType.DELETE)
96
+    @DeleteMapping("/{ids}")
97
+    public AjaxResult remove(@PathVariable Long[] ids) {
98
+        return toAjax(personnelMonthlyAssessmentIndicatorDetailService.deletePersonnelMonthlyAssessmentIndicatorDetailByIds(ids));
99
+    }
100
+}

+ 100 - 0
airport-admin/src/main/java/com/sundot/airport/web/controller/personnel/PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailController.java

@@ -0,0 +1,100 @@
1
+package com.sundot.airport.web.controller.personnel;
2
+
3
+import java.util.List;
4
+import javax.servlet.http.HttpServletResponse;
5
+
6
+import org.springframework.security.access.prepost.PreAuthorize;
7
+import org.springframework.beans.factory.annotation.Autowired;
8
+import org.springframework.web.bind.annotation.GetMapping;
9
+import org.springframework.web.bind.annotation.PostMapping;
10
+import org.springframework.web.bind.annotation.PutMapping;
11
+import org.springframework.web.bind.annotation.DeleteMapping;
12
+import org.springframework.web.bind.annotation.PathVariable;
13
+import org.springframework.web.bind.annotation.RequestBody;
14
+import org.springframework.web.bind.annotation.RequestMapping;
15
+import org.springframework.web.bind.annotation.RestController;
16
+import com.sundot.airport.common.annotation.Log;
17
+import com.sundot.airport.common.core.controller.BaseController;
18
+import com.sundot.airport.common.core.domain.AjaxResult;
19
+import com.sundot.airport.common.enums.BusinessType;
20
+import com.sundot.airport.personnel.domain.PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail;
21
+import com.sundot.airport.personnel.service.IPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailService;
22
+import com.sundot.airport.common.utils.poi.ExcelUtil;
23
+import com.sundot.airport.common.core.page.TableDataInfo;
24
+
25
+/**
26
+ * 月度考核指标奖罚明细Controller
27
+ *
28
+ * @author ruoyi
29
+ * @date 2026-05-07
30
+ */
31
+@RestController
32
+@RequestMapping("/personnel/rewardPunishmentDetail")
33
+public class PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailController extends BaseController {
34
+    @Autowired
35
+    private IPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailService personnelMonthlyAssessmentIndicatorRewardPunishmentDetailService;
36
+
37
+    /**
38
+     * 查询月度考核指标奖罚明细列表
39
+     */
40
+    @PreAuthorize("@ss.hasPermi('personnel:rewardPunishmentDetail:list')")
41
+    @GetMapping("/list")
42
+    public TableDataInfo list(PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail personnelMonthlyAssessmentIndicatorRewardPunishmentDetail) {
43
+        startPage();
44
+        List<PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail> list = personnelMonthlyAssessmentIndicatorRewardPunishmentDetailService.selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailList(personnelMonthlyAssessmentIndicatorRewardPunishmentDetail);
45
+        return getDataTable(list);
46
+    }
47
+
48
+    /**
49
+     * 导出月度考核指标奖罚明细列表
50
+     */
51
+    @PreAuthorize("@ss.hasPermi('personnel:rewardPunishmentDetail:export')")
52
+    @Log(title = "月度考核指标奖罚明细", businessType = BusinessType.EXPORT)
53
+    @PostMapping("/export")
54
+    public void export(HttpServletResponse response, PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail personnelMonthlyAssessmentIndicatorRewardPunishmentDetail) {
55
+        List<PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail> list = personnelMonthlyAssessmentIndicatorRewardPunishmentDetailService.selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailList(personnelMonthlyAssessmentIndicatorRewardPunishmentDetail);
56
+        ExcelUtil<PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail> util = new ExcelUtil<PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail>(PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail.class);
57
+        util.exportExcel(response, list, "月度考核指标奖罚明细数据");
58
+    }
59
+
60
+    /**
61
+     * 获取月度考核指标奖罚明细详细信息
62
+     */
63
+    @PreAuthorize("@ss.hasPermi('personnel:rewardPunishmentDetail:query')")
64
+    @GetMapping(value = "/{id}")
65
+    public AjaxResult getInfo(@PathVariable("id") Long id) {
66
+        return success(personnelMonthlyAssessmentIndicatorRewardPunishmentDetailService.selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailById(id));
67
+    }
68
+
69
+    /**
70
+     * 新增月度考核指标奖罚明细
71
+     */
72
+    @PreAuthorize("@ss.hasPermi('personnel:rewardPunishmentDetail:add')")
73
+    @Log(title = "月度考核指标奖罚明细", businessType = BusinessType.INSERT)
74
+    @PostMapping
75
+    public AjaxResult add(@RequestBody PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail personnelMonthlyAssessmentIndicatorRewardPunishmentDetail) {
76
+        personnelMonthlyAssessmentIndicatorRewardPunishmentDetail.setCreateBy(getUsername());
77
+        return toAjax(personnelMonthlyAssessmentIndicatorRewardPunishmentDetailService.insertPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail(personnelMonthlyAssessmentIndicatorRewardPunishmentDetail));
78
+    }
79
+
80
+    /**
81
+     * 修改月度考核指标奖罚明细
82
+     */
83
+    @PreAuthorize("@ss.hasPermi('personnel:rewardPunishmentDetail:edit')")
84
+    @Log(title = "月度考核指标奖罚明细", businessType = BusinessType.UPDATE)
85
+    @PutMapping
86
+    public AjaxResult edit(@RequestBody PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail personnelMonthlyAssessmentIndicatorRewardPunishmentDetail) {
87
+        personnelMonthlyAssessmentIndicatorRewardPunishmentDetail.setUpdateBy(getUsername());
88
+        return toAjax(personnelMonthlyAssessmentIndicatorRewardPunishmentDetailService.updatePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail(personnelMonthlyAssessmentIndicatorRewardPunishmentDetail));
89
+    }
90
+
91
+    /**
92
+     * 删除月度考核指标奖罚明细
93
+     */
94
+    @PreAuthorize("@ss.hasPermi('personnel:rewardPunishmentDetail:remove')")
95
+    @Log(title = "月度考核指标奖罚明细", businessType = BusinessType.DELETE)
96
+    @DeleteMapping("/{ids}")
97
+    public AjaxResult remove(@PathVariable Long[] ids) {
98
+        return toAjax(personnelMonthlyAssessmentIndicatorRewardPunishmentDetailService.deletePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailByIds(ids));
99
+    }
100
+}

+ 100 - 0
airport-admin/src/main/java/com/sundot/airport/web/controller/personnel/PersonnelNonCadreMonthlyAssessmentController.java

@@ -0,0 +1,100 @@
1
+package com.sundot.airport.web.controller.personnel;
2
+
3
+import java.util.List;
4
+import javax.servlet.http.HttpServletResponse;
5
+
6
+import org.springframework.security.access.prepost.PreAuthorize;
7
+import org.springframework.beans.factory.annotation.Autowired;
8
+import org.springframework.web.bind.annotation.GetMapping;
9
+import org.springframework.web.bind.annotation.PostMapping;
10
+import org.springframework.web.bind.annotation.PutMapping;
11
+import org.springframework.web.bind.annotation.DeleteMapping;
12
+import org.springframework.web.bind.annotation.PathVariable;
13
+import org.springframework.web.bind.annotation.RequestBody;
14
+import org.springframework.web.bind.annotation.RequestMapping;
15
+import org.springframework.web.bind.annotation.RestController;
16
+import com.sundot.airport.common.annotation.Log;
17
+import com.sundot.airport.common.core.controller.BaseController;
18
+import com.sundot.airport.common.core.domain.AjaxResult;
19
+import com.sundot.airport.common.enums.BusinessType;
20
+import com.sundot.airport.personnel.domain.PersonnelNonCadreMonthlyAssessment;
21
+import com.sundot.airport.personnel.service.IPersonnelNonCadreMonthlyAssessmentService;
22
+import com.sundot.airport.common.utils.poi.ExcelUtil;
23
+import com.sundot.airport.common.core.page.TableDataInfo;
24
+
25
+/**
26
+ * 非干部月度考核Controller
27
+ *
28
+ * @author ruoyi
29
+ * @date 2026-05-07
30
+ */
31
+@RestController
32
+@RequestMapping("/personnel/assessment")
33
+public class PersonnelNonCadreMonthlyAssessmentController extends BaseController {
34
+    @Autowired
35
+    private IPersonnelNonCadreMonthlyAssessmentService personnelNonCadreMonthlyAssessmentService;
36
+
37
+    /**
38
+     * 查询非干部月度考核列表
39
+     */
40
+    @PreAuthorize("@ss.hasPermi('personnel:assessment:list')")
41
+    @GetMapping("/list")
42
+    public TableDataInfo list(PersonnelNonCadreMonthlyAssessment personnelNonCadreMonthlyAssessment) {
43
+        startPage();
44
+        List<PersonnelNonCadreMonthlyAssessment> list = personnelNonCadreMonthlyAssessmentService.selectPersonnelNonCadreMonthlyAssessmentList(personnelNonCadreMonthlyAssessment);
45
+        return getDataTable(list);
46
+    }
47
+
48
+    /**
49
+     * 导出非干部月度考核列表
50
+     */
51
+    @PreAuthorize("@ss.hasPermi('personnel:assessment:export')")
52
+    @Log(title = "非干部月度考核", businessType = BusinessType.EXPORT)
53
+    @PostMapping("/export")
54
+    public void export(HttpServletResponse response, PersonnelNonCadreMonthlyAssessment personnelNonCadreMonthlyAssessment) {
55
+        List<PersonnelNonCadreMonthlyAssessment> list = personnelNonCadreMonthlyAssessmentService.selectPersonnelNonCadreMonthlyAssessmentList(personnelNonCadreMonthlyAssessment);
56
+        ExcelUtil<PersonnelNonCadreMonthlyAssessment> util = new ExcelUtil<PersonnelNonCadreMonthlyAssessment>(PersonnelNonCadreMonthlyAssessment.class);
57
+        util.exportExcel(response, list, "非干部月度考核数据");
58
+    }
59
+
60
+    /**
61
+     * 获取非干部月度考核详细信息
62
+     */
63
+    @PreAuthorize("@ss.hasPermi('personnel:assessment:query')")
64
+    @GetMapping(value = "/{id}")
65
+    public AjaxResult getInfo(@PathVariable("id") Long id) {
66
+        return success(personnelNonCadreMonthlyAssessmentService.selectPersonnelNonCadreMonthlyAssessmentById(id));
67
+    }
68
+
69
+    /**
70
+     * 新增非干部月度考核
71
+     */
72
+    @PreAuthorize("@ss.hasPermi('personnel:assessment:add')")
73
+    @Log(title = "非干部月度考核", businessType = BusinessType.INSERT)
74
+    @PostMapping
75
+    public AjaxResult add(@RequestBody PersonnelNonCadreMonthlyAssessment personnelNonCadreMonthlyAssessment) {
76
+        personnelNonCadreMonthlyAssessment.setCreateBy(getUsername());
77
+        return toAjax(personnelNonCadreMonthlyAssessmentService.insertPersonnelNonCadreMonthlyAssessment(personnelNonCadreMonthlyAssessment));
78
+    }
79
+
80
+    /**
81
+     * 修改非干部月度考核
82
+     */
83
+    @PreAuthorize("@ss.hasPermi('personnel:assessment:edit')")
84
+    @Log(title = "非干部月度考核", businessType = BusinessType.UPDATE)
85
+    @PutMapping
86
+    public AjaxResult edit(@RequestBody PersonnelNonCadreMonthlyAssessment personnelNonCadreMonthlyAssessment) {
87
+        personnelNonCadreMonthlyAssessment.setUpdateBy(getUsername());
88
+        return toAjax(personnelNonCadreMonthlyAssessmentService.updatePersonnelNonCadreMonthlyAssessment(personnelNonCadreMonthlyAssessment));
89
+    }
90
+
91
+    /**
92
+     * 删除非干部月度考核
93
+     */
94
+    @PreAuthorize("@ss.hasPermi('personnel:assessment:remove')")
95
+    @Log(title = "非干部月度考核", businessType = BusinessType.DELETE)
96
+    @DeleteMapping("/{ids}")
97
+    public AjaxResult remove(@PathVariable Long[] ids) {
98
+        return toAjax(personnelNonCadreMonthlyAssessmentService.deletePersonnelNonCadreMonthlyAssessmentByIds(ids));
99
+    }
100
+}

+ 41 - 0
airport-personnel/pom.xml

@@ -0,0 +1,41 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://maven.apache.org/POM/4.0.0"
3
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
+    <parent>
6
+        <groupId>com.sundot.airport</groupId>
7
+        <artifactId>airport</artifactId>
8
+        <version>3.9.0</version>
9
+    </parent>
10
+
11
+    <modelVersion>4.0.0</modelVersion>
12
+
13
+    <artifactId>airport-personnel</artifactId>
14
+
15
+    <description>
16
+        personnel人事绩效模块
17
+    </description>
18
+
19
+    <dependencies>
20
+
21
+        <!-- 通用工具-->
22
+        <dependency>
23
+            <groupId>com.sundot.airport</groupId>
24
+            <artifactId>airport-common</artifactId>
25
+        </dependency>
26
+
27
+        <!-- 系统模块 -->
28
+        <dependency>
29
+            <groupId>com.sundot.airport</groupId>
30
+            <artifactId>airport-system</artifactId>
31
+        </dependency>
32
+
33
+        <dependency>
34
+            <groupId>org.projectlombok</groupId>
35
+            <artifactId>lombok</artifactId>
36
+            <scope>provided</scope>
37
+        </dependency>
38
+
39
+    </dependencies>
40
+
41
+</project>

+ 226 - 0
airport-personnel/src/main/java/com/sundot/airport/personnel/domain/PersonnelMonthlyAssessmentIndicatorDetail.java

@@ -0,0 +1,226 @@
1
+package com.sundot.airport.personnel.domain;
2
+
3
+import java.math.BigDecimal;
4
+
5
+import com.baomidou.mybatisplus.annotation.IdType;
6
+import com.baomidou.mybatisplus.annotation.TableId;
7
+import com.baomidou.mybatisplus.annotation.TableName;
8
+import org.apache.commons.lang3.builder.ToStringBuilder;
9
+import org.apache.commons.lang3.builder.ToStringStyle;
10
+import com.sundot.airport.common.annotation.Excel;
11
+import com.sundot.airport.common.core.domain.BaseEntity;
12
+
13
+/**
14
+ * 月度考核指标明细对象 personnel_monthly_assessment_indicator_detail
15
+ *
16
+ * @author ruoyi
17
+ * @date 2026-05-07
18
+ */
19
+@TableName("personnel_monthly_assessment_indicator_detail")
20
+public class PersonnelMonthlyAssessmentIndicatorDetail extends BaseEntity {
21
+    private static final long serialVersionUID = 1L;
22
+
23
+    /** 租户号 */
24
+    private String tenantId;
25
+
26
+    /** 乐观锁 */
27
+    private Integer revision;
28
+
29
+    /** 主键 */
30
+    @TableId(type = IdType.AUTO)
31
+    private Long id;
32
+
33
+    /** 类型 */
34
+    @Excel(name = "类型")
35
+    private String sourceType;
36
+
37
+    /** 来源ID */
38
+    @Excel(name = "来源ID")
39
+    private Long sourceId;
40
+
41
+    /** 指标ID */
42
+    @Excel(name = "指标ID")
43
+    private Long indicatorId;
44
+
45
+    /** 指标编码 */
46
+    @Excel(name = "指标编码")
47
+    private String indicatorCode;
48
+
49
+    /** 指标名称 */
50
+    @Excel(name = "指标名称")
51
+    private String indicatorName;
52
+
53
+    /** 分值 */
54
+    @Excel(name = "分值")
55
+    private BigDecimal score;
56
+
57
+    /** 单位 */
58
+    @Excel(name = "单位")
59
+    private String unit;
60
+
61
+    /** 奖罚类型 */
62
+    @Excel(name = "奖罚类型")
63
+    private String rewardPunishmentType;
64
+
65
+    /** 检查部门类型 */
66
+    @Excel(name = "检查部门类型")
67
+    private String qcDeptType;
68
+
69
+    /** 发生次数 */
70
+    @Excel(name = "发生次数")
71
+    private Integer occurCount;
72
+
73
+    /** 分值结果 */
74
+    @Excel(name = "分值结果")
75
+    private BigDecimal scoreResult;
76
+
77
+    /** 奖罚金额(元) */
78
+    @Excel(name = "奖罚金额(元)")
79
+    private BigDecimal amountResult;
80
+
81
+    public void setTenantId(String tenantId) {
82
+        this.tenantId = tenantId;
83
+    }
84
+
85
+    public String getTenantId() {
86
+        return tenantId;
87
+    }
88
+
89
+    public void setRevision(Integer revision) {
90
+        this.revision = revision;
91
+    }
92
+
93
+    public Integer getRevision() {
94
+        return revision;
95
+    }
96
+
97
+    public void setId(Long id) {
98
+        this.id = id;
99
+    }
100
+
101
+    public Long getId() {
102
+        return id;
103
+    }
104
+
105
+    public void setSourceType(String sourceType) {
106
+        this.sourceType = sourceType;
107
+    }
108
+
109
+    public String getSourceType() {
110
+        return sourceType;
111
+    }
112
+
113
+    public void setSourceId(Long sourceId) {
114
+        this.sourceId = sourceId;
115
+    }
116
+
117
+    public Long getSourceId() {
118
+        return sourceId;
119
+    }
120
+
121
+    public void setIndicatorId(Long indicatorId) {
122
+        this.indicatorId = indicatorId;
123
+    }
124
+
125
+    public Long getIndicatorId() {
126
+        return indicatorId;
127
+    }
128
+
129
+    public void setIndicatorCode(String indicatorCode) {
130
+        this.indicatorCode = indicatorCode;
131
+    }
132
+
133
+    public String getIndicatorCode() {
134
+        return indicatorCode;
135
+    }
136
+
137
+    public void setIndicatorName(String indicatorName) {
138
+        this.indicatorName = indicatorName;
139
+    }
140
+
141
+    public String getIndicatorName() {
142
+        return indicatorName;
143
+    }
144
+
145
+    public void setScore(BigDecimal score) {
146
+        this.score = score;
147
+    }
148
+
149
+    public BigDecimal getScore() {
150
+        return score;
151
+    }
152
+
153
+    public void setUnit(String unit) {
154
+        this.unit = unit;
155
+    }
156
+
157
+    public String getUnit() {
158
+        return unit;
159
+    }
160
+
161
+    public void setRewardPunishmentType(String rewardPunishmentType) {
162
+        this.rewardPunishmentType = rewardPunishmentType;
163
+    }
164
+
165
+    public String getRewardPunishmentType() {
166
+        return rewardPunishmentType;
167
+    }
168
+
169
+    public void setQcDeptType(String qcDeptType) {
170
+        this.qcDeptType = qcDeptType;
171
+    }
172
+
173
+    public String getQcDeptType() {
174
+        return qcDeptType;
175
+    }
176
+
177
+    public void setOccurCount(Integer occurCount) {
178
+        this.occurCount = occurCount;
179
+    }
180
+
181
+    public Integer getOccurCount() {
182
+        return occurCount;
183
+    }
184
+
185
+    public void setScoreResult(BigDecimal scoreResult) {
186
+        this.scoreResult = scoreResult;
187
+    }
188
+
189
+    public BigDecimal getScoreResult() {
190
+        return scoreResult;
191
+    }
192
+
193
+    public void setAmountResult(BigDecimal amountResult) {
194
+        this.amountResult = amountResult;
195
+    }
196
+
197
+    public BigDecimal getAmountResult() {
198
+        return amountResult;
199
+    }
200
+
201
+    @Override
202
+    public String toString() {
203
+        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
204
+                .append("tenantId", getTenantId())
205
+                .append("revision", getRevision())
206
+                .append("createBy", getCreateBy())
207
+                .append("createTime", getCreateTime())
208
+                .append("updateBy", getUpdateBy())
209
+                .append("updateTime", getUpdateTime())
210
+                .append("remark", getRemark())
211
+                .append("id", getId())
212
+                .append("sourceType", getSourceType())
213
+                .append("sourceId", getSourceId())
214
+                .append("indicatorId", getIndicatorId())
215
+                .append("indicatorCode", getIndicatorCode())
216
+                .append("indicatorName", getIndicatorName())
217
+                .append("score", getScore())
218
+                .append("unit", getUnit())
219
+                .append("rewardPunishmentType", getRewardPunishmentType())
220
+                .append("qcDeptType", getQcDeptType())
221
+                .append("occurCount", getOccurCount())
222
+                .append("scoreResult", getScoreResult())
223
+                .append("amountResult", getAmountResult())
224
+                .toString();
225
+    }
226
+}

+ 135 - 0
airport-personnel/src/main/java/com/sundot/airport/personnel/domain/PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail.java

@@ -0,0 +1,135 @@
1
+package com.sundot.airport.personnel.domain;
2
+
3
+import java.math.BigDecimal;
4
+
5
+import com.baomidou.mybatisplus.annotation.IdType;
6
+import com.baomidou.mybatisplus.annotation.TableId;
7
+import com.baomidou.mybatisplus.annotation.TableName;
8
+import org.apache.commons.lang3.builder.ToStringBuilder;
9
+import org.apache.commons.lang3.builder.ToStringStyle;
10
+import com.sundot.airport.common.annotation.Excel;
11
+import com.sundot.airport.common.core.domain.BaseEntity;
12
+
13
+/**
14
+ * 月度考核指标奖罚明细对象 personnel_monthly_assessment_indicator_reward_punishment_detail
15
+ *
16
+ * @author ruoyi
17
+ * @date 2026-05-07
18
+ */
19
+@TableName("personnel_monthly_assessment_indicator_reward_punishment_detail")
20
+public class PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail extends BaseEntity {
21
+    private static final long serialVersionUID = 1L;
22
+
23
+    /** 租户号 */
24
+    private String tenantId;
25
+
26
+    /** 乐观锁 */
27
+    private Integer revision;
28
+
29
+    /** 主键 */
30
+    @TableId(type = IdType.AUTO)
31
+    private Long id;
32
+
33
+    /** 类型 */
34
+    @Excel(name = "类型")
35
+    private String sourceType;
36
+
37
+    /** 来源ID */
38
+    @Excel(name = "来源ID")
39
+    private Long sourceId;
40
+
41
+    /** 奖罚类型 */
42
+    @Excel(name = "奖罚类型")
43
+    private String rewardPunishmentType;
44
+
45
+    /** 奖罚明细 */
46
+    @Excel(name = "奖罚明细")
47
+    private String rewardPunishmentDetail;
48
+
49
+    /** 奖罚金额(元) */
50
+    @Excel(name = "奖罚金额(元)")
51
+    private BigDecimal amount;
52
+
53
+    public void setTenantId(String tenantId) {
54
+        this.tenantId = tenantId;
55
+    }
56
+
57
+    public String getTenantId() {
58
+        return tenantId;
59
+    }
60
+
61
+    public void setRevision(Integer revision) {
62
+        this.revision = revision;
63
+    }
64
+
65
+    public Integer getRevision() {
66
+        return revision;
67
+    }
68
+
69
+    public void setId(Long id) {
70
+        this.id = id;
71
+    }
72
+
73
+    public Long getId() {
74
+        return id;
75
+    }
76
+
77
+    public void setSourceType(String sourceType) {
78
+        this.sourceType = sourceType;
79
+    }
80
+
81
+    public String getSourceType() {
82
+        return sourceType;
83
+    }
84
+
85
+    public void setSourceId(Long sourceId) {
86
+        this.sourceId = sourceId;
87
+    }
88
+
89
+    public Long getSourceId() {
90
+        return sourceId;
91
+    }
92
+
93
+    public void setRewardPunishmentType(String rewardPunishmentType) {
94
+        this.rewardPunishmentType = rewardPunishmentType;
95
+    }
96
+
97
+    public String getRewardPunishmentType() {
98
+        return rewardPunishmentType;
99
+    }
100
+
101
+    public void setRewardPunishmentDetail(String rewardPunishmentDetail) {
102
+        this.rewardPunishmentDetail = rewardPunishmentDetail;
103
+    }
104
+
105
+    public String getRewardPunishmentDetail() {
106
+        return rewardPunishmentDetail;
107
+    }
108
+
109
+    public void setAmount(BigDecimal amount) {
110
+        this.amount = amount;
111
+    }
112
+
113
+    public BigDecimal getAmount() {
114
+        return amount;
115
+    }
116
+
117
+    @Override
118
+    public String toString() {
119
+        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
120
+                .append("tenantId", getTenantId())
121
+                .append("revision", getRevision())
122
+                .append("createBy", getCreateBy())
123
+                .append("createTime", getCreateTime())
124
+                .append("updateBy", getUpdateBy())
125
+                .append("updateTime", getUpdateTime())
126
+                .append("remark", getRemark())
127
+                .append("id", getId())
128
+                .append("sourceType", getSourceType())
129
+                .append("sourceId", getSourceId())
130
+                .append("rewardPunishmentType", getRewardPunishmentType())
131
+                .append("rewardPunishmentDetail", getRewardPunishmentDetail())
132
+                .append("amount", getAmount())
133
+                .toString();
134
+    }
135
+}

+ 473 - 0
airport-personnel/src/main/java/com/sundot/airport/personnel/domain/PersonnelNonCadreMonthlyAssessment.java

@@ -0,0 +1,473 @@
1
+package com.sundot.airport.personnel.domain;
2
+
3
+import java.math.BigDecimal;
4
+
5
+import com.baomidou.mybatisplus.annotation.IdType;
6
+import com.baomidou.mybatisplus.annotation.TableId;
7
+import com.baomidou.mybatisplus.annotation.TableName;
8
+import org.apache.commons.lang3.builder.ToStringBuilder;
9
+import org.apache.commons.lang3.builder.ToStringStyle;
10
+import com.sundot.airport.common.annotation.Excel;
11
+import com.sundot.airport.common.core.domain.BaseEntity;
12
+
13
+/**
14
+ * 非干部月度考核对象 personnel_non_cadre_monthly_assessment
15
+ *
16
+ * @author ruoyi
17
+ * @date 2026-05-07
18
+ */
19
+@TableName("personnel_non_cadre_monthly_assessment")
20
+public class PersonnelNonCadreMonthlyAssessment extends BaseEntity {
21
+    private static final long serialVersionUID = 1L;
22
+
23
+    /** 租户号 */
24
+    private String tenantId;
25
+
26
+    /** 乐观锁 */
27
+    private Integer revision;
28
+
29
+    /** 主键 */
30
+    @TableId(type = IdType.AUTO)
31
+    private Long id;
32
+
33
+    /** 考核月份(格式:YYYYMM) */
34
+    @Excel(name = "考核月份")
35
+    private String assessmentMonth;
36
+
37
+    /** 用户ID */
38
+    @Excel(name = "用户ID")
39
+    private Long userId;
40
+
41
+    /** 用户名称 */
42
+    @Excel(name = "用户名称")
43
+    private String userName;
44
+
45
+    /** 用工形式 */
46
+    @Excel(name = "用工形式")
47
+    private String employmentType;
48
+
49
+    /** 考核组 */
50
+    @Excel(name = "考核组")
51
+    private String assessmentTeam;
52
+
53
+    /** 岗位 */
54
+    @Excel(name = "岗位")
55
+    private String post;
56
+
57
+    /** 分管班组长id */
58
+    @Excel(name = "分管班组长id")
59
+    private Long deputyTeamLeaderId;
60
+
61
+    /** 分管班组长名称 */
62
+    @Excel(name = "分管班组长名称")
63
+    private String deputyTeamLeaderName;
64
+
65
+    /** 分管主管id */
66
+    @Excel(name = "分管主管id")
67
+    private Long deputySupervisorId;
68
+
69
+    /** 分管主管 */
70
+    @Excel(name = "分管主管")
71
+    private String deputySupervisorName;
72
+
73
+    /** 分管经理id */
74
+    @Excel(name = "分管经理id")
75
+    private Long deputyManagerId;
76
+
77
+    /** 分管经理 */
78
+    @Excel(name = "分管经理")
79
+    private String deputyManagerName;
80
+
81
+    /** 红线指标触发次数 */
82
+    @Excel(name = "红线指标触发次数")
83
+    private Integer redLineIndexTriggerCount;
84
+
85
+    /** 核心指标分值 */
86
+    @Excel(name = "核心指标分值")
87
+    private BigDecimal coreIndexScore;
88
+
89
+    /** 其他指标分值 */
90
+    @Excel(name = "其他指标分值")
91
+    private BigDecimal otherIndexScore;
92
+
93
+    /** 其他指标中的安全指标(仅含soc/站品控检查扣分)分值 */
94
+    @Excel(name = "其他指标中的安全指标(仅含soc/站品控检查扣分)分值")
95
+    private BigDecimal otherIndexSafetyScoreWithSocStationQcDeduction;
96
+
97
+    /** 其他指标中的安全指标(不含soc/站品控检查扣分)分值 */
98
+    @Excel(name = "其他指标中的安全指标(不含soc/站品控检查扣分)分值")
99
+    private BigDecimal otherIndexSafetyScoreWithoutSocStationQcDeduction;
100
+
101
+    /** 其他指标中的非安全指标扣分 */
102
+    @Excel(name = "其他指标中的非安全指标扣分")
103
+    private BigDecimal otherIndexNonSafetyDeduction;
104
+
105
+    /** 非核心安全+核心扣分 */
106
+    @Excel(name = "非核心安全+核心扣分")
107
+    private BigDecimal nonCoreSafetyPlusCoreDeduction;
108
+
109
+    /** soc/站品控检查的涉及核心、安全指标扣分 */
110
+    @Excel(name = "soc/站品控检查的涉及核心、安全指标扣分")
111
+    private BigDecimal socStationQcInvolvedCoreSafetyDeduction;
112
+
113
+    /** 分管员工数量 */
114
+    @Excel(name = "分管员工数量")
115
+    private Integer inChargeEmployeeCount;
116
+
117
+    /** 扣分平均值 */
118
+    @Excel(name = "扣分平均值")
119
+    private BigDecimal deductionAverage;
120
+
121
+    /** 总分 */
122
+    @Excel(name = "总分")
123
+    private BigDecimal totalScore;
124
+
125
+    /** 奖励(元) */
126
+    @Excel(name = "奖励(元)")
127
+    private BigDecimal rewardAmount;
128
+
129
+    /** 扣罚(元) */
130
+    @Excel(name = "扣罚(元)")
131
+    private BigDecimal punishmentAmount;
132
+
133
+    /** 考核结果 */
134
+    @Excel(name = "考核结果")
135
+    private String assessmentResult;
136
+
137
+    /** 考核结果备注 */
138
+    @Excel(name = "考核结果备注")
139
+    private String assessmentResultRemark;
140
+
141
+    /** 应用方式 */
142
+    @Excel(name = "应用方式")
143
+    private String applicationMethod;
144
+
145
+    /** 应用方式备注 */
146
+    @Excel(name = "应用方式备注")
147
+    private String applicationMethodRemark;
148
+
149
+    /** 是否豁免(N=否;Y=是) */
150
+    @Excel(name = "是否豁免(N=否;Y=是)")
151
+    private String exemption;
152
+
153
+    /** 豁免原因备注 */
154
+    @Excel(name = "豁免原因备注")
155
+    private String exemptionReasonRemark;
156
+
157
+    public void setTenantId(String tenantId) {
158
+        this.tenantId = tenantId;
159
+    }
160
+
161
+    public String getTenantId() {
162
+        return tenantId;
163
+    }
164
+
165
+    public void setRevision(Integer revision) {
166
+        this.revision = revision;
167
+    }
168
+
169
+    public Integer getRevision() {
170
+        return revision;
171
+    }
172
+
173
+    public void setId(Long id) {
174
+        this.id = id;
175
+    }
176
+
177
+    public Long getId() {
178
+        return id;
179
+    }
180
+
181
+    public void setAssessmentMonth(String assessmentMonth) {
182
+        this.assessmentMonth = assessmentMonth;
183
+    }
184
+
185
+    public String getAssessmentMonth() {
186
+        return assessmentMonth;
187
+    }
188
+
189
+    public void setUserId(Long userId) {
190
+        this.userId = userId;
191
+    }
192
+
193
+    public Long getUserId() {
194
+        return userId;
195
+    }
196
+
197
+    public void setUserName(String userName) {
198
+        this.userName = userName;
199
+    }
200
+
201
+    public String getUserName() {
202
+        return userName;
203
+    }
204
+
205
+    public void setEmploymentType(String employmentType) {
206
+        this.employmentType = employmentType;
207
+    }
208
+
209
+    public String getEmploymentType() {
210
+        return employmentType;
211
+    }
212
+
213
+    public void setAssessmentTeam(String assessmentTeam) {
214
+        this.assessmentTeam = assessmentTeam;
215
+    }
216
+
217
+    public String getAssessmentTeam() {
218
+        return assessmentTeam;
219
+    }
220
+
221
+    public void setPost(String post) {
222
+        this.post = post;
223
+    }
224
+
225
+    public String getPost() {
226
+        return post;
227
+    }
228
+
229
+    public void setDeputyTeamLeaderId(Long deputyTeamLeaderId) {
230
+        this.deputyTeamLeaderId = deputyTeamLeaderId;
231
+    }
232
+
233
+    public Long getDeputyTeamLeaderId() {
234
+        return deputyTeamLeaderId;
235
+    }
236
+
237
+    public void setDeputyTeamLeaderName(String deputyTeamLeaderName) {
238
+        this.deputyTeamLeaderName = deputyTeamLeaderName;
239
+    }
240
+
241
+    public String getDeputyTeamLeaderName() {
242
+        return deputyTeamLeaderName;
243
+    }
244
+
245
+    public void setDeputySupervisorId(Long deputySupervisorId) {
246
+        this.deputySupervisorId = deputySupervisorId;
247
+    }
248
+
249
+    public Long getDeputySupervisorId() {
250
+        return deputySupervisorId;
251
+    }
252
+
253
+    public void setDeputySupervisorName(String deputySupervisorName) {
254
+        this.deputySupervisorName = deputySupervisorName;
255
+    }
256
+
257
+    public String getDeputySupervisorName() {
258
+        return deputySupervisorName;
259
+    }
260
+
261
+    public void setDeputyManagerId(Long deputyManagerId) {
262
+        this.deputyManagerId = deputyManagerId;
263
+    }
264
+
265
+    public Long getDeputyManagerId() {
266
+        return deputyManagerId;
267
+    }
268
+
269
+    public void setDeputyManagerName(String deputyManagerName) {
270
+        this.deputyManagerName = deputyManagerName;
271
+    }
272
+
273
+    public String getDeputyManagerName() {
274
+        return deputyManagerName;
275
+    }
276
+
277
+    public void setRedLineIndexTriggerCount(Integer redLineIndexTriggerCount) {
278
+        this.redLineIndexTriggerCount = redLineIndexTriggerCount;
279
+    }
280
+
281
+    public Integer getRedLineIndexTriggerCount() {
282
+        return redLineIndexTriggerCount;
283
+    }
284
+
285
+    public void setCoreIndexScore(BigDecimal coreIndexScore) {
286
+        this.coreIndexScore = coreIndexScore;
287
+    }
288
+
289
+    public BigDecimal getCoreIndexScore() {
290
+        return coreIndexScore;
291
+    }
292
+
293
+    public void setOtherIndexScore(BigDecimal otherIndexScore) {
294
+        this.otherIndexScore = otherIndexScore;
295
+    }
296
+
297
+    public BigDecimal getOtherIndexScore() {
298
+        return otherIndexScore;
299
+    }
300
+
301
+    public void setOtherIndexSafetyScoreWithSocStationQcDeduction(BigDecimal otherIndexSafetyScoreWithSocStationQcDeduction) {
302
+        this.otherIndexSafetyScoreWithSocStationQcDeduction = otherIndexSafetyScoreWithSocStationQcDeduction;
303
+    }
304
+
305
+    public BigDecimal getOtherIndexSafetyScoreWithSocStationQcDeduction() {
306
+        return otherIndexSafetyScoreWithSocStationQcDeduction;
307
+    }
308
+
309
+    public void setOtherIndexSafetyScoreWithoutSocStationQcDeduction(BigDecimal otherIndexSafetyScoreWithoutSocStationQcDeduction) {
310
+        this.otherIndexSafetyScoreWithoutSocStationQcDeduction = otherIndexSafetyScoreWithoutSocStationQcDeduction;
311
+    }
312
+
313
+    public BigDecimal getOtherIndexSafetyScoreWithoutSocStationQcDeduction() {
314
+        return otherIndexSafetyScoreWithoutSocStationQcDeduction;
315
+    }
316
+
317
+    public void setOtherIndexNonSafetyDeduction(BigDecimal otherIndexNonSafetyDeduction) {
318
+        this.otherIndexNonSafetyDeduction = otherIndexNonSafetyDeduction;
319
+    }
320
+
321
+    public BigDecimal getOtherIndexNonSafetyDeduction() {
322
+        return otherIndexNonSafetyDeduction;
323
+    }
324
+
325
+    public void setNonCoreSafetyPlusCoreDeduction(BigDecimal nonCoreSafetyPlusCoreDeduction) {
326
+        this.nonCoreSafetyPlusCoreDeduction = nonCoreSafetyPlusCoreDeduction;
327
+    }
328
+
329
+    public BigDecimal getNonCoreSafetyPlusCoreDeduction() {
330
+        return nonCoreSafetyPlusCoreDeduction;
331
+    }
332
+
333
+    public void setSocStationQcInvolvedCoreSafetyDeduction(BigDecimal socStationQcInvolvedCoreSafetyDeduction) {
334
+        this.socStationQcInvolvedCoreSafetyDeduction = socStationQcInvolvedCoreSafetyDeduction;
335
+    }
336
+
337
+    public BigDecimal getSocStationQcInvolvedCoreSafetyDeduction() {
338
+        return socStationQcInvolvedCoreSafetyDeduction;
339
+    }
340
+
341
+    public void setInChargeEmployeeCount(Integer inChargeEmployeeCount) {
342
+        this.inChargeEmployeeCount = inChargeEmployeeCount;
343
+    }
344
+
345
+    public Integer getInChargeEmployeeCount() {
346
+        return inChargeEmployeeCount;
347
+    }
348
+
349
+    public void setDeductionAverage(BigDecimal deductionAverage) {
350
+        this.deductionAverage = deductionAverage;
351
+    }
352
+
353
+    public BigDecimal getDeductionAverage() {
354
+        return deductionAverage;
355
+    }
356
+
357
+    public void setTotalScore(BigDecimal totalScore) {
358
+        this.totalScore = totalScore;
359
+    }
360
+
361
+    public BigDecimal getTotalScore() {
362
+        return totalScore;
363
+    }
364
+
365
+    public void setRewardAmount(BigDecimal rewardAmount) {
366
+        this.rewardAmount = rewardAmount;
367
+    }
368
+
369
+    public BigDecimal getRewardAmount() {
370
+        return rewardAmount;
371
+    }
372
+
373
+    public void setPunishmentAmount(BigDecimal punishmentAmount) {
374
+        this.punishmentAmount = punishmentAmount;
375
+    }
376
+
377
+    public BigDecimal getPunishmentAmount() {
378
+        return punishmentAmount;
379
+    }
380
+
381
+    public void setAssessmentResult(String assessmentResult) {
382
+        this.assessmentResult = assessmentResult;
383
+    }
384
+
385
+    public String getAssessmentResult() {
386
+        return assessmentResult;
387
+    }
388
+
389
+    public void setAssessmentResultRemark(String assessmentResultRemark) {
390
+        this.assessmentResultRemark = assessmentResultRemark;
391
+    }
392
+
393
+    public String getAssessmentResultRemark() {
394
+        return assessmentResultRemark;
395
+    }
396
+
397
+    public void setApplicationMethod(String applicationMethod) {
398
+        this.applicationMethod = applicationMethod;
399
+    }
400
+
401
+    public String getApplicationMethod() {
402
+        return applicationMethod;
403
+    }
404
+
405
+    public void setApplicationMethodRemark(String applicationMethodRemark) {
406
+        this.applicationMethodRemark = applicationMethodRemark;
407
+    }
408
+
409
+    public String getApplicationMethodRemark() {
410
+        return applicationMethodRemark;
411
+    }
412
+
413
+    public void setExemption(String exemption) {
414
+        this.exemption = exemption;
415
+    }
416
+
417
+    public String getExemption() {
418
+        return exemption;
419
+    }
420
+
421
+    public void setExemptionReasonRemark(String exemptionReasonRemark) {
422
+        this.exemptionReasonRemark = exemptionReasonRemark;
423
+    }
424
+
425
+    public String getExemptionReasonRemark() {
426
+        return exemptionReasonRemark;
427
+    }
428
+
429
+    @Override
430
+    public String toString() {
431
+        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
432
+                .append("tenantId", getTenantId())
433
+                .append("revision", getRevision())
434
+                .append("createBy", getCreateBy())
435
+                .append("createTime", getCreateTime())
436
+                .append("updateBy", getUpdateBy())
437
+                .append("updateTime", getUpdateTime())
438
+                .append("remark", getRemark())
439
+                .append("id", getId())
440
+                .append("assessmentMonth", getAssessmentMonth())
441
+                .append("userId", getUserId())
442
+                .append("userName", getUserName())
443
+                .append("employmentType", getEmploymentType())
444
+                .append("assessmentTeam", getAssessmentTeam())
445
+                .append("post", getPost())
446
+                .append("deputyTeamLeaderId", getDeputyTeamLeaderId())
447
+                .append("deputyTeamLeaderName", getDeputyTeamLeaderName())
448
+                .append("deputySupervisorId", getDeputySupervisorId())
449
+                .append("deputySupervisorName", getDeputySupervisorName())
450
+                .append("deputyManagerId", getDeputyManagerId())
451
+                .append("deputyManagerName", getDeputyManagerName())
452
+                .append("redLineIndexTriggerCount", getRedLineIndexTriggerCount())
453
+                .append("coreIndexScore", getCoreIndexScore())
454
+                .append("otherIndexScore", getOtherIndexScore())
455
+                .append("otherIndexSafetyScoreWithSocStationQcDeduction", getOtherIndexSafetyScoreWithSocStationQcDeduction())
456
+                .append("otherIndexSafetyScoreWithoutSocStationQcDeduction", getOtherIndexSafetyScoreWithoutSocStationQcDeduction())
457
+                .append("otherIndexNonSafetyDeduction", getOtherIndexNonSafetyDeduction())
458
+                .append("nonCoreSafetyPlusCoreDeduction", getNonCoreSafetyPlusCoreDeduction())
459
+                .append("socStationQcInvolvedCoreSafetyDeduction", getSocStationQcInvolvedCoreSafetyDeduction())
460
+                .append("inChargeEmployeeCount", getInChargeEmployeeCount())
461
+                .append("deductionAverage", getDeductionAverage())
462
+                .append("totalScore", getTotalScore())
463
+                .append("rewardAmount", getRewardAmount())
464
+                .append("punishmentAmount", getPunishmentAmount())
465
+                .append("assessmentResult", getAssessmentResult())
466
+                .append("assessmentResultRemark", getAssessmentResultRemark())
467
+                .append("applicationMethod", getApplicationMethod())
468
+                .append("applicationMethodRemark", getApplicationMethodRemark())
469
+                .append("exemption", getExemption())
470
+                .append("exemptionReasonRemark", getExemptionReasonRemark())
471
+                .toString();
472
+    }
473
+}

+ 62 - 0
airport-personnel/src/main/java/com/sundot/airport/personnel/mapper/PersonnelMonthlyAssessmentIndicatorDetailMapper.java

@@ -0,0 +1,62 @@
1
+package com.sundot.airport.personnel.mapper;
2
+
3
+import java.util.List;
4
+
5
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
6
+import com.sundot.airport.personnel.domain.PersonnelMonthlyAssessmentIndicatorDetail;
7
+
8
+/**
9
+ * 月度考核指标明细Mapper接口
10
+ *
11
+ * @author ruoyi
12
+ * @date 2026-05-07
13
+ */
14
+public interface PersonnelMonthlyAssessmentIndicatorDetailMapper extends BaseMapper<PersonnelMonthlyAssessmentIndicatorDetail> {
15
+    /**
16
+     * 查询月度考核指标明细
17
+     *
18
+     * @param id 月度考核指标明细主键
19
+     * @return 月度考核指标明细
20
+     */
21
+    public PersonnelMonthlyAssessmentIndicatorDetail selectPersonnelMonthlyAssessmentIndicatorDetailById(Long id);
22
+
23
+    /**
24
+     * 查询月度考核指标明细列表
25
+     *
26
+     * @param personnelMonthlyAssessmentIndicatorDetail 月度考核指标明细
27
+     * @return 月度考核指标明细集合
28
+     */
29
+    public List<PersonnelMonthlyAssessmentIndicatorDetail> selectPersonnelMonthlyAssessmentIndicatorDetailList(PersonnelMonthlyAssessmentIndicatorDetail personnelMonthlyAssessmentIndicatorDetail);
30
+
31
+    /**
32
+     * 新增月度考核指标明细
33
+     *
34
+     * @param personnelMonthlyAssessmentIndicatorDetail 月度考核指标明细
35
+     * @return 结果
36
+     */
37
+    public int insertPersonnelMonthlyAssessmentIndicatorDetail(PersonnelMonthlyAssessmentIndicatorDetail personnelMonthlyAssessmentIndicatorDetail);
38
+
39
+    /**
40
+     * 修改月度考核指标明细
41
+     *
42
+     * @param personnelMonthlyAssessmentIndicatorDetail 月度考核指标明细
43
+     * @return 结果
44
+     */
45
+    public int updatePersonnelMonthlyAssessmentIndicatorDetail(PersonnelMonthlyAssessmentIndicatorDetail personnelMonthlyAssessmentIndicatorDetail);
46
+
47
+    /**
48
+     * 删除月度考核指标明细
49
+     *
50
+     * @param id 月度考核指标明细主键
51
+     * @return 结果
52
+     */
53
+    public int deletePersonnelMonthlyAssessmentIndicatorDetailById(Long id);
54
+
55
+    /**
56
+     * 批量删除月度考核指标明细
57
+     *
58
+     * @param ids 需要删除的数据主键集合
59
+     * @return 结果
60
+     */
61
+    public int deletePersonnelMonthlyAssessmentIndicatorDetailByIds(Long[] ids);
62
+}

+ 62 - 0
airport-personnel/src/main/java/com/sundot/airport/personnel/mapper/PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper.java

@@ -0,0 +1,62 @@
1
+package com.sundot.airport.personnel.mapper;
2
+
3
+import java.util.List;
4
+
5
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
6
+import com.sundot.airport.personnel.domain.PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail;
7
+
8
+/**
9
+ * 月度考核指标奖罚明细Mapper接口
10
+ *
11
+ * @author ruoyi
12
+ * @date 2026-05-07
13
+ */
14
+public interface PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper extends BaseMapper<PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail> {
15
+    /**
16
+     * 查询月度考核指标奖罚明细
17
+     *
18
+     * @param id 月度考核指标奖罚明细主键
19
+     * @return 月度考核指标奖罚明细
20
+     */
21
+    public PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailById(Long id);
22
+
23
+    /**
24
+     * 查询月度考核指标奖罚明细列表
25
+     *
26
+     * @param personnelMonthlyAssessmentIndicatorRewardPunishmentDetail 月度考核指标奖罚明细
27
+     * @return 月度考核指标奖罚明细集合
28
+     */
29
+    public List<PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail> selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailList(PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail personnelMonthlyAssessmentIndicatorRewardPunishmentDetail);
30
+
31
+    /**
32
+     * 新增月度考核指标奖罚明细
33
+     *
34
+     * @param personnelMonthlyAssessmentIndicatorRewardPunishmentDetail 月度考核指标奖罚明细
35
+     * @return 结果
36
+     */
37
+    public int insertPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail(PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail personnelMonthlyAssessmentIndicatorRewardPunishmentDetail);
38
+
39
+    /**
40
+     * 修改月度考核指标奖罚明细
41
+     *
42
+     * @param personnelMonthlyAssessmentIndicatorRewardPunishmentDetail 月度考核指标奖罚明细
43
+     * @return 结果
44
+     */
45
+    public int updatePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail(PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail personnelMonthlyAssessmentIndicatorRewardPunishmentDetail);
46
+
47
+    /**
48
+     * 删除月度考核指标奖罚明细
49
+     *
50
+     * @param id 月度考核指标奖罚明细主键
51
+     * @return 结果
52
+     */
53
+    public int deletePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailById(Long id);
54
+
55
+    /**
56
+     * 批量删除月度考核指标奖罚明细
57
+     *
58
+     * @param ids 需要删除的数据主键集合
59
+     * @return 结果
60
+     */
61
+    public int deletePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailByIds(Long[] ids);
62
+}

+ 62 - 0
airport-personnel/src/main/java/com/sundot/airport/personnel/mapper/PersonnelNonCadreMonthlyAssessmentMapper.java

@@ -0,0 +1,62 @@
1
+package com.sundot.airport.personnel.mapper;
2
+
3
+import java.util.List;
4
+
5
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
6
+import com.sundot.airport.personnel.domain.PersonnelNonCadreMonthlyAssessment;
7
+
8
+/**
9
+ * 非干部月度考核Mapper接口
10
+ *
11
+ * @author ruoyi
12
+ * @date 2026-05-07
13
+ */
14
+public interface PersonnelNonCadreMonthlyAssessmentMapper extends BaseMapper<PersonnelNonCadreMonthlyAssessment> {
15
+    /**
16
+     * 查询非干部月度考核
17
+     *
18
+     * @param id 非干部月度考核主键
19
+     * @return 非干部月度考核
20
+     */
21
+    public PersonnelNonCadreMonthlyAssessment selectPersonnelNonCadreMonthlyAssessmentById(Long id);
22
+
23
+    /**
24
+     * 查询非干部月度考核列表
25
+     *
26
+     * @param personnelNonCadreMonthlyAssessment 非干部月度考核
27
+     * @return 非干部月度考核集合
28
+     */
29
+    public List<PersonnelNonCadreMonthlyAssessment> selectPersonnelNonCadreMonthlyAssessmentList(PersonnelNonCadreMonthlyAssessment personnelNonCadreMonthlyAssessment);
30
+
31
+    /**
32
+     * 新增非干部月度考核
33
+     *
34
+     * @param personnelNonCadreMonthlyAssessment 非干部月度考核
35
+     * @return 结果
36
+     */
37
+    public int insertPersonnelNonCadreMonthlyAssessment(PersonnelNonCadreMonthlyAssessment personnelNonCadreMonthlyAssessment);
38
+
39
+    /**
40
+     * 修改非干部月度考核
41
+     *
42
+     * @param personnelNonCadreMonthlyAssessment 非干部月度考核
43
+     * @return 结果
44
+     */
45
+    public int updatePersonnelNonCadreMonthlyAssessment(PersonnelNonCadreMonthlyAssessment personnelNonCadreMonthlyAssessment);
46
+
47
+    /**
48
+     * 删除非干部月度考核
49
+     *
50
+     * @param id 非干部月度考核主键
51
+     * @return 结果
52
+     */
53
+    public int deletePersonnelNonCadreMonthlyAssessmentById(Long id);
54
+
55
+    /**
56
+     * 批量删除非干部月度考核
57
+     *
58
+     * @param ids 需要删除的数据主键集合
59
+     * @return 结果
60
+     */
61
+    public int deletePersonnelNonCadreMonthlyAssessmentByIds(Long[] ids);
62
+}

+ 62 - 0
airport-personnel/src/main/java/com/sundot/airport/personnel/service/IPersonnelMonthlyAssessmentIndicatorDetailService.java

@@ -0,0 +1,62 @@
1
+package com.sundot.airport.personnel.service;
2
+
3
+import java.util.List;
4
+
5
+import com.baomidou.mybatisplus.extension.service.IService;
6
+import com.sundot.airport.personnel.domain.PersonnelMonthlyAssessmentIndicatorDetail;
7
+
8
+/**
9
+ * 月度考核指标明细Service接口
10
+ *
11
+ * @author ruoyi
12
+ * @date 2026-05-07
13
+ */
14
+public interface IPersonnelMonthlyAssessmentIndicatorDetailService extends IService<PersonnelMonthlyAssessmentIndicatorDetail> {
15
+    /**
16
+     * 查询月度考核指标明细
17
+     *
18
+     * @param id 月度考核指标明细主键
19
+     * @return 月度考核指标明细
20
+     */
21
+    public PersonnelMonthlyAssessmentIndicatorDetail selectPersonnelMonthlyAssessmentIndicatorDetailById(Long id);
22
+
23
+    /**
24
+     * 查询月度考核指标明细列表
25
+     *
26
+     * @param personnelMonthlyAssessmentIndicatorDetail 月度考核指标明细
27
+     * @return 月度考核指标明细集合
28
+     */
29
+    public List<PersonnelMonthlyAssessmentIndicatorDetail> selectPersonnelMonthlyAssessmentIndicatorDetailList(PersonnelMonthlyAssessmentIndicatorDetail personnelMonthlyAssessmentIndicatorDetail);
30
+
31
+    /**
32
+     * 新增月度考核指标明细
33
+     *
34
+     * @param personnelMonthlyAssessmentIndicatorDetail 月度考核指标明细
35
+     * @return 结果
36
+     */
37
+    public int insertPersonnelMonthlyAssessmentIndicatorDetail(PersonnelMonthlyAssessmentIndicatorDetail personnelMonthlyAssessmentIndicatorDetail);
38
+
39
+    /**
40
+     * 修改月度考核指标明细
41
+     *
42
+     * @param personnelMonthlyAssessmentIndicatorDetail 月度考核指标明细
43
+     * @return 结果
44
+     */
45
+    public int updatePersonnelMonthlyAssessmentIndicatorDetail(PersonnelMonthlyAssessmentIndicatorDetail personnelMonthlyAssessmentIndicatorDetail);
46
+
47
+    /**
48
+     * 批量删除月度考核指标明细
49
+     *
50
+     * @param ids 需要删除的月度考核指标明细主键集合
51
+     * @return 结果
52
+     */
53
+    public int deletePersonnelMonthlyAssessmentIndicatorDetailByIds(Long[] ids);
54
+
55
+    /**
56
+     * 删除月度考核指标明细信息
57
+     *
58
+     * @param id 月度考核指标明细主键
59
+     * @return 结果
60
+     */
61
+    public int deletePersonnelMonthlyAssessmentIndicatorDetailById(Long id);
62
+}

+ 62 - 0
airport-personnel/src/main/java/com/sundot/airport/personnel/service/IPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailService.java

@@ -0,0 +1,62 @@
1
+package com.sundot.airport.personnel.service;
2
+
3
+import java.util.List;
4
+
5
+import com.baomidou.mybatisplus.extension.service.IService;
6
+import com.sundot.airport.personnel.domain.PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail;
7
+
8
+/**
9
+ * 月度考核指标奖罚明细Service接口
10
+ *
11
+ * @author ruoyi
12
+ * @date 2026-05-07
13
+ */
14
+public interface IPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailService extends IService<PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail> {
15
+    /**
16
+     * 查询月度考核指标奖罚明细
17
+     *
18
+     * @param id 月度考核指标奖罚明细主键
19
+     * @return 月度考核指标奖罚明细
20
+     */
21
+    public PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailById(Long id);
22
+
23
+    /**
24
+     * 查询月度考核指标奖罚明细列表
25
+     *
26
+     * @param personnelMonthlyAssessmentIndicatorRewardPunishmentDetail 月度考核指标奖罚明细
27
+     * @return 月度考核指标奖罚明细集合
28
+     */
29
+    public List<PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail> selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailList(PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail personnelMonthlyAssessmentIndicatorRewardPunishmentDetail);
30
+
31
+    /**
32
+     * 新增月度考核指标奖罚明细
33
+     *
34
+     * @param personnelMonthlyAssessmentIndicatorRewardPunishmentDetail 月度考核指标奖罚明细
35
+     * @return 结果
36
+     */
37
+    public int insertPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail(PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail personnelMonthlyAssessmentIndicatorRewardPunishmentDetail);
38
+
39
+    /**
40
+     * 修改月度考核指标奖罚明细
41
+     *
42
+     * @param personnelMonthlyAssessmentIndicatorRewardPunishmentDetail 月度考核指标奖罚明细
43
+     * @return 结果
44
+     */
45
+    public int updatePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail(PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail personnelMonthlyAssessmentIndicatorRewardPunishmentDetail);
46
+
47
+    /**
48
+     * 批量删除月度考核指标奖罚明细
49
+     *
50
+     * @param ids 需要删除的月度考核指标奖罚明细主键集合
51
+     * @return 结果
52
+     */
53
+    public int deletePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailByIds(Long[] ids);
54
+
55
+    /**
56
+     * 删除月度考核指标奖罚明细信息
57
+     *
58
+     * @param id 月度考核指标奖罚明细主键
59
+     * @return 结果
60
+     */
61
+    public int deletePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailById(Long id);
62
+}

+ 62 - 0
airport-personnel/src/main/java/com/sundot/airport/personnel/service/IPersonnelNonCadreMonthlyAssessmentService.java

@@ -0,0 +1,62 @@
1
+package com.sundot.airport.personnel.service;
2
+
3
+import java.util.List;
4
+
5
+import com.baomidou.mybatisplus.extension.service.IService;
6
+import com.sundot.airport.personnel.domain.PersonnelNonCadreMonthlyAssessment;
7
+
8
+/**
9
+ * 非干部月度考核Service接口
10
+ *
11
+ * @author ruoyi
12
+ * @date 2026-05-07
13
+ */
14
+public interface IPersonnelNonCadreMonthlyAssessmentService extends IService<PersonnelNonCadreMonthlyAssessment> {
15
+    /**
16
+     * 查询非干部月度考核
17
+     *
18
+     * @param id 非干部月度考核主键
19
+     * @return 非干部月度考核
20
+     */
21
+    public PersonnelNonCadreMonthlyAssessment selectPersonnelNonCadreMonthlyAssessmentById(Long id);
22
+
23
+    /**
24
+     * 查询非干部月度考核列表
25
+     *
26
+     * @param personnelNonCadreMonthlyAssessment 非干部月度考核
27
+     * @return 非干部月度考核集合
28
+     */
29
+    public List<PersonnelNonCadreMonthlyAssessment> selectPersonnelNonCadreMonthlyAssessmentList(PersonnelNonCadreMonthlyAssessment personnelNonCadreMonthlyAssessment);
30
+
31
+    /**
32
+     * 新增非干部月度考核
33
+     *
34
+     * @param personnelNonCadreMonthlyAssessment 非干部月度考核
35
+     * @return 结果
36
+     */
37
+    public int insertPersonnelNonCadreMonthlyAssessment(PersonnelNonCadreMonthlyAssessment personnelNonCadreMonthlyAssessment);
38
+
39
+    /**
40
+     * 修改非干部月度考核
41
+     *
42
+     * @param personnelNonCadreMonthlyAssessment 非干部月度考核
43
+     * @return 结果
44
+     */
45
+    public int updatePersonnelNonCadreMonthlyAssessment(PersonnelNonCadreMonthlyAssessment personnelNonCadreMonthlyAssessment);
46
+
47
+    /**
48
+     * 批量删除非干部月度考核
49
+     *
50
+     * @param ids 需要删除的非干部月度考核主键集合
51
+     * @return 结果
52
+     */
53
+    public int deletePersonnelNonCadreMonthlyAssessmentByIds(Long[] ids);
54
+
55
+    /**
56
+     * 删除非干部月度考核信息
57
+     *
58
+     * @param id 非干部月度考核主键
59
+     * @return 结果
60
+     */
61
+    public int deletePersonnelNonCadreMonthlyAssessmentById(Long id);
62
+}

+ 91 - 0
airport-personnel/src/main/java/com/sundot/airport/personnel/service/impl/PersonnelMonthlyAssessmentIndicatorDetailServiceImpl.java

@@ -0,0 +1,91 @@
1
+package com.sundot.airport.personnel.service.impl;
2
+
3
+import java.util.List;
4
+
5
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
6
+import com.sundot.airport.common.utils.DateUtils;
7
+import org.springframework.beans.factory.annotation.Autowired;
8
+import org.springframework.stereotype.Service;
9
+import com.sundot.airport.personnel.mapper.PersonnelMonthlyAssessmentIndicatorDetailMapper;
10
+import com.sundot.airport.personnel.domain.PersonnelMonthlyAssessmentIndicatorDetail;
11
+import com.sundot.airport.personnel.service.IPersonnelMonthlyAssessmentIndicatorDetailService;
12
+
13
+/**
14
+ * 月度考核指标明细Service业务层处理
15
+ *
16
+ * @author ruoyi
17
+ * @date 2026-05-07
18
+ */
19
+@Service
20
+public class PersonnelMonthlyAssessmentIndicatorDetailServiceImpl extends ServiceImpl<PersonnelMonthlyAssessmentIndicatorDetailMapper, PersonnelMonthlyAssessmentIndicatorDetail> implements IPersonnelMonthlyAssessmentIndicatorDetailService {
21
+    @Autowired
22
+    private PersonnelMonthlyAssessmentIndicatorDetailMapper personnelMonthlyAssessmentIndicatorDetailMapper;
23
+
24
+    /**
25
+     * 查询月度考核指标明细
26
+     *
27
+     * @param id 月度考核指标明细主键
28
+     * @return 月度考核指标明细
29
+     */
30
+    @Override
31
+    public PersonnelMonthlyAssessmentIndicatorDetail selectPersonnelMonthlyAssessmentIndicatorDetailById(Long id) {
32
+        return personnelMonthlyAssessmentIndicatorDetailMapper.selectPersonnelMonthlyAssessmentIndicatorDetailById(id);
33
+    }
34
+
35
+    /**
36
+     * 查询月度考核指标明细列表
37
+     *
38
+     * @param personnelMonthlyAssessmentIndicatorDetail 月度考核指标明细
39
+     * @return 月度考核指标明细
40
+     */
41
+    @Override
42
+    public List<PersonnelMonthlyAssessmentIndicatorDetail> selectPersonnelMonthlyAssessmentIndicatorDetailList(PersonnelMonthlyAssessmentIndicatorDetail personnelMonthlyAssessmentIndicatorDetail) {
43
+        return personnelMonthlyAssessmentIndicatorDetailMapper.selectPersonnelMonthlyAssessmentIndicatorDetailList(personnelMonthlyAssessmentIndicatorDetail);
44
+    }
45
+
46
+    /**
47
+     * 新增月度考核指标明细
48
+     *
49
+     * @param personnelMonthlyAssessmentIndicatorDetail 月度考核指标明细
50
+     * @return 结果
51
+     */
52
+    @Override
53
+    public int insertPersonnelMonthlyAssessmentIndicatorDetail(PersonnelMonthlyAssessmentIndicatorDetail personnelMonthlyAssessmentIndicatorDetail) {
54
+        personnelMonthlyAssessmentIndicatorDetail.setCreateTime(DateUtils.getNowDate());
55
+        return personnelMonthlyAssessmentIndicatorDetailMapper.insertPersonnelMonthlyAssessmentIndicatorDetail(personnelMonthlyAssessmentIndicatorDetail);
56
+    }
57
+
58
+    /**
59
+     * 修改月度考核指标明细
60
+     *
61
+     * @param personnelMonthlyAssessmentIndicatorDetail 月度考核指标明细
62
+     * @return 结果
63
+     */
64
+    @Override
65
+    public int updatePersonnelMonthlyAssessmentIndicatorDetail(PersonnelMonthlyAssessmentIndicatorDetail personnelMonthlyAssessmentIndicatorDetail) {
66
+        personnelMonthlyAssessmentIndicatorDetail.setUpdateTime(DateUtils.getNowDate());
67
+        return personnelMonthlyAssessmentIndicatorDetailMapper.updatePersonnelMonthlyAssessmentIndicatorDetail(personnelMonthlyAssessmentIndicatorDetail);
68
+    }
69
+
70
+    /**
71
+     * 批量删除月度考核指标明细
72
+     *
73
+     * @param ids 需要删除的月度考核指标明细主键
74
+     * @return 结果
75
+     */
76
+    @Override
77
+    public int deletePersonnelMonthlyAssessmentIndicatorDetailByIds(Long[] ids) {
78
+        return personnelMonthlyAssessmentIndicatorDetailMapper.deletePersonnelMonthlyAssessmentIndicatorDetailByIds(ids);
79
+    }
80
+
81
+    /**
82
+     * 删除月度考核指标明细信息
83
+     *
84
+     * @param id 月度考核指标明细主键
85
+     * @return 结果
86
+     */
87
+    @Override
88
+    public int deletePersonnelMonthlyAssessmentIndicatorDetailById(Long id) {
89
+        return personnelMonthlyAssessmentIndicatorDetailMapper.deletePersonnelMonthlyAssessmentIndicatorDetailById(id);
90
+    }
91
+}

+ 91 - 0
airport-personnel/src/main/java/com/sundot/airport/personnel/service/impl/PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailServiceImpl.java

@@ -0,0 +1,91 @@
1
+package com.sundot.airport.personnel.service.impl;
2
+
3
+import java.util.List;
4
+
5
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
6
+import com.sundot.airport.common.utils.DateUtils;
7
+import org.springframework.beans.factory.annotation.Autowired;
8
+import org.springframework.stereotype.Service;
9
+import com.sundot.airport.personnel.mapper.PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper;
10
+import com.sundot.airport.personnel.domain.PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail;
11
+import com.sundot.airport.personnel.service.IPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailService;
12
+
13
+/**
14
+ * 月度考核指标奖罚明细Service业务层处理
15
+ *
16
+ * @author ruoyi
17
+ * @date 2026-05-07
18
+ */
19
+@Service
20
+public class PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailServiceImpl extends ServiceImpl<PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper, PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail> implements IPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailService {
21
+    @Autowired
22
+    private PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper personnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper;
23
+
24
+    /**
25
+     * 查询月度考核指标奖罚明细
26
+     *
27
+     * @param id 月度考核指标奖罚明细主键
28
+     * @return 月度考核指标奖罚明细
29
+     */
30
+    @Override
31
+    public PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailById(Long id) {
32
+        return personnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper.selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailById(id);
33
+    }
34
+
35
+    /**
36
+     * 查询月度考核指标奖罚明细列表
37
+     *
38
+     * @param personnelMonthlyAssessmentIndicatorRewardPunishmentDetail 月度考核指标奖罚明细
39
+     * @return 月度考核指标奖罚明细
40
+     */
41
+    @Override
42
+    public List<PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail> selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailList(PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail personnelMonthlyAssessmentIndicatorRewardPunishmentDetail) {
43
+        return personnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper.selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailList(personnelMonthlyAssessmentIndicatorRewardPunishmentDetail);
44
+    }
45
+
46
+    /**
47
+     * 新增月度考核指标奖罚明细
48
+     *
49
+     * @param personnelMonthlyAssessmentIndicatorRewardPunishmentDetail 月度考核指标奖罚明细
50
+     * @return 结果
51
+     */
52
+    @Override
53
+    public int insertPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail(PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail personnelMonthlyAssessmentIndicatorRewardPunishmentDetail) {
54
+        personnelMonthlyAssessmentIndicatorRewardPunishmentDetail.setCreateTime(DateUtils.getNowDate());
55
+        return personnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper.insertPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail(personnelMonthlyAssessmentIndicatorRewardPunishmentDetail);
56
+    }
57
+
58
+    /**
59
+     * 修改月度考核指标奖罚明细
60
+     *
61
+     * @param personnelMonthlyAssessmentIndicatorRewardPunishmentDetail 月度考核指标奖罚明细
62
+     * @return 结果
63
+     */
64
+    @Override
65
+    public int updatePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail(PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail personnelMonthlyAssessmentIndicatorRewardPunishmentDetail) {
66
+        personnelMonthlyAssessmentIndicatorRewardPunishmentDetail.setUpdateTime(DateUtils.getNowDate());
67
+        return personnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper.updatePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail(personnelMonthlyAssessmentIndicatorRewardPunishmentDetail);
68
+    }
69
+
70
+    /**
71
+     * 批量删除月度考核指标奖罚明细
72
+     *
73
+     * @param ids 需要删除的月度考核指标奖罚明细主键
74
+     * @return 结果
75
+     */
76
+    @Override
77
+    public int deletePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailByIds(Long[] ids) {
78
+        return personnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper.deletePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailByIds(ids);
79
+    }
80
+
81
+    /**
82
+     * 删除月度考核指标奖罚明细信息
83
+     *
84
+     * @param id 月度考核指标奖罚明细主键
85
+     * @return 结果
86
+     */
87
+    @Override
88
+    public int deletePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailById(Long id) {
89
+        return personnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper.deletePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailById(id);
90
+    }
91
+}

+ 91 - 0
airport-personnel/src/main/java/com/sundot/airport/personnel/service/impl/PersonnelNonCadreMonthlyAssessmentServiceImpl.java

@@ -0,0 +1,91 @@
1
+package com.sundot.airport.personnel.service.impl;
2
+
3
+import java.util.List;
4
+
5
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
6
+import com.sundot.airport.common.utils.DateUtils;
7
+import org.springframework.beans.factory.annotation.Autowired;
8
+import org.springframework.stereotype.Service;
9
+import com.sundot.airport.personnel.mapper.PersonnelNonCadreMonthlyAssessmentMapper;
10
+import com.sundot.airport.personnel.domain.PersonnelNonCadreMonthlyAssessment;
11
+import com.sundot.airport.personnel.service.IPersonnelNonCadreMonthlyAssessmentService;
12
+
13
+/**
14
+ * 非干部月度考核Service业务层处理
15
+ *
16
+ * @author ruoyi
17
+ * @date 2026-05-07
18
+ */
19
+@Service
20
+public class PersonnelNonCadreMonthlyAssessmentServiceImpl extends ServiceImpl<PersonnelNonCadreMonthlyAssessmentMapper, PersonnelNonCadreMonthlyAssessment> implements IPersonnelNonCadreMonthlyAssessmentService {
21
+    @Autowired
22
+    private PersonnelNonCadreMonthlyAssessmentMapper personnelNonCadreMonthlyAssessmentMapper;
23
+
24
+    /**
25
+     * 查询非干部月度考核
26
+     *
27
+     * @param id 非干部月度考核主键
28
+     * @return 非干部月度考核
29
+     */
30
+    @Override
31
+    public PersonnelNonCadreMonthlyAssessment selectPersonnelNonCadreMonthlyAssessmentById(Long id) {
32
+        return personnelNonCadreMonthlyAssessmentMapper.selectPersonnelNonCadreMonthlyAssessmentById(id);
33
+    }
34
+
35
+    /**
36
+     * 查询非干部月度考核列表
37
+     *
38
+     * @param personnelNonCadreMonthlyAssessment 非干部月度考核
39
+     * @return 非干部月度考核
40
+     */
41
+    @Override
42
+    public List<PersonnelNonCadreMonthlyAssessment> selectPersonnelNonCadreMonthlyAssessmentList(PersonnelNonCadreMonthlyAssessment personnelNonCadreMonthlyAssessment) {
43
+        return personnelNonCadreMonthlyAssessmentMapper.selectPersonnelNonCadreMonthlyAssessmentList(personnelNonCadreMonthlyAssessment);
44
+    }
45
+
46
+    /**
47
+     * 新增非干部月度考核
48
+     *
49
+     * @param personnelNonCadreMonthlyAssessment 非干部月度考核
50
+     * @return 结果
51
+     */
52
+    @Override
53
+    public int insertPersonnelNonCadreMonthlyAssessment(PersonnelNonCadreMonthlyAssessment personnelNonCadreMonthlyAssessment) {
54
+        personnelNonCadreMonthlyAssessment.setCreateTime(DateUtils.getNowDate());
55
+        return personnelNonCadreMonthlyAssessmentMapper.insertPersonnelNonCadreMonthlyAssessment(personnelNonCadreMonthlyAssessment);
56
+    }
57
+
58
+    /**
59
+     * 修改非干部月度考核
60
+     *
61
+     * @param personnelNonCadreMonthlyAssessment 非干部月度考核
62
+     * @return 结果
63
+     */
64
+    @Override
65
+    public int updatePersonnelNonCadreMonthlyAssessment(PersonnelNonCadreMonthlyAssessment personnelNonCadreMonthlyAssessment) {
66
+        personnelNonCadreMonthlyAssessment.setUpdateTime(DateUtils.getNowDate());
67
+        return personnelNonCadreMonthlyAssessmentMapper.updatePersonnelNonCadreMonthlyAssessment(personnelNonCadreMonthlyAssessment);
68
+    }
69
+
70
+    /**
71
+     * 批量删除非干部月度考核
72
+     *
73
+     * @param ids 需要删除的非干部月度考核主键
74
+     * @return 结果
75
+     */
76
+    @Override
77
+    public int deletePersonnelNonCadreMonthlyAssessmentByIds(Long[] ids) {
78
+        return personnelNonCadreMonthlyAssessmentMapper.deletePersonnelNonCadreMonthlyAssessmentByIds(ids);
79
+    }
80
+
81
+    /**
82
+     * 删除非干部月度考核信息
83
+     *
84
+     * @param id 非干部月度考核主键
85
+     * @return 结果
86
+     */
87
+    @Override
88
+    public int deletePersonnelNonCadreMonthlyAssessmentById(Long id) {
89
+        return personnelNonCadreMonthlyAssessmentMapper.deletePersonnelNonCadreMonthlyAssessmentById(id);
90
+    }
91
+}

+ 174 - 0
airport-personnel/src/main/resources/mapper/personnel/PersonnelMonthlyAssessmentIndicatorDetailMapper.xml

@@ -0,0 +1,174 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper
3
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+<mapper namespace="com.sundot.airport.personnel.mapper.PersonnelMonthlyAssessmentIndicatorDetailMapper">
6
+
7
+    <resultMap type="PersonnelMonthlyAssessmentIndicatorDetail" id="PersonnelMonthlyAssessmentIndicatorDetailResult">
8
+        <result property="tenantId" column="tenant_id"/>
9
+        <result property="revision" column="revision"/>
10
+        <result property="createBy" column="create_by"/>
11
+        <result property="createTime" column="create_time"/>
12
+        <result property="updateBy" column="update_by"/>
13
+        <result property="updateTime" column="update_time"/>
14
+        <result property="remark" column="remark"/>
15
+        <result property="id" column="id"/>
16
+        <result property="sourceType" column="source_type"/>
17
+        <result property="sourceId" column="source_id"/>
18
+        <result property="indicatorId" column="indicator_id"/>
19
+        <result property="indicatorCode" column="indicator_code"/>
20
+        <result property="indicatorName" column="indicator_name"/>
21
+        <result property="score" column="score"/>
22
+        <result property="unit" column="unit"/>
23
+        <result property="rewardPunishmentType" column="reward_punishment_type"/>
24
+        <result property="qcDeptType" column="qc_dept_type"/>
25
+        <result property="occurCount" column="occur_count"/>
26
+        <result property="scoreResult" column="score_result"/>
27
+        <result property="amountResult" column="amount_result"/>
28
+    </resultMap>
29
+
30
+    <sql id="selectPersonnelMonthlyAssessmentIndicatorDetailVo">
31
+        select tenant_id,
32
+               revision,
33
+               create_by,
34
+               create_time,
35
+               update_by,
36
+               update_time,
37
+               remark,
38
+               id,
39
+               source_type,
40
+               source_id,
41
+               indicator_id,
42
+               indicator_code,
43
+               indicator_name,
44
+               score,
45
+               unit,
46
+               reward_punishment_type,
47
+               qc_dept_type,
48
+               occur_count,
49
+               score_result,
50
+               amount_result
51
+        from personnel_monthly_assessment_indicator_detail
52
+    </sql>
53
+
54
+    <select id="selectPersonnelMonthlyAssessmentIndicatorDetailList"
55
+            parameterType="PersonnelMonthlyAssessmentIndicatorDetail"
56
+            resultMap="PersonnelMonthlyAssessmentIndicatorDetailResult">
57
+        <include refid="selectPersonnelMonthlyAssessmentIndicatorDetailVo"/>
58
+        <where>
59
+            <if test="tenantId != null  and tenantId != ''">and tenant_id = #{tenantId}</if>
60
+            <if test="revision != null ">and revision = #{revision}</if>
61
+            <if test="sourceType != null  and sourceType != ''">and source_type = #{sourceType}</if>
62
+            <if test="sourceId != null ">and source_id = #{sourceId}</if>
63
+            <if test="indicatorId != null ">and indicator_id = #{indicatorId}</if>
64
+            <if test="indicatorCode != null  and indicatorCode != ''">and indicator_code = #{indicatorCode}</if>
65
+            <if test="indicatorName != null  and indicatorName != ''">and indicator_name like concat('%',
66
+                #{indicatorName}, '%')
67
+            </if>
68
+            <if test="score != null ">and score = #{score}</if>
69
+            <if test="unit != null  and unit != ''">and unit = #{unit}</if>
70
+            <if test="rewardPunishmentType != null  and rewardPunishmentType != ''">and reward_punishment_type =
71
+                #{rewardPunishmentType}
72
+            </if>
73
+            <if test="qcDeptType != null  and qcDeptType != ''">and qc_dept_type = #{qcDeptType}</if>
74
+            <if test="occurCount != null ">and occur_count = #{occurCount}</if>
75
+            <if test="scoreResult != null ">and score_result = #{scoreResult}</if>
76
+            <if test="amountResult != null ">and amount_result = #{amountResult}</if>
77
+        </where>
78
+    </select>
79
+
80
+    <select id="selectPersonnelMonthlyAssessmentIndicatorDetailById" parameterType="Long"
81
+            resultMap="PersonnelMonthlyAssessmentIndicatorDetailResult">
82
+        <include refid="selectPersonnelMonthlyAssessmentIndicatorDetailVo"/>
83
+        where id = #{id}
84
+    </select>
85
+
86
+    <insert id="insertPersonnelMonthlyAssessmentIndicatorDetail"
87
+            parameterType="PersonnelMonthlyAssessmentIndicatorDetail" useGeneratedKeys="true" keyProperty="id">
88
+        insert into personnel_monthly_assessment_indicator_detail
89
+        <trim prefix="(" suffix=")" suffixOverrides=",">
90
+            <if test="tenantId != null">tenant_id,</if>
91
+            <if test="revision != null">revision,</if>
92
+            <if test="createBy != null">create_by,</if>
93
+            <if test="createTime != null">create_time,</if>
94
+            <if test="updateBy != null">update_by,</if>
95
+            <if test="updateTime != null">update_time,</if>
96
+            <if test="remark != null">remark,</if>
97
+            <if test="sourceType != null and sourceType != ''">source_type,</if>
98
+            <if test="sourceId != null">source_id,</if>
99
+            <if test="indicatorId != null">indicator_id,</if>
100
+            <if test="indicatorCode != null and indicatorCode != ''">indicator_code,</if>
101
+            <if test="indicatorName != null and indicatorName != ''">indicator_name,</if>
102
+            <if test="score != null">score,</if>
103
+            <if test="unit != null">unit,</if>
104
+            <if test="rewardPunishmentType != null and rewardPunishmentType != ''">reward_punishment_type,</if>
105
+            <if test="qcDeptType != null and qcDeptType != ''">qc_dept_type,</if>
106
+            <if test="occurCount != null">occur_count,</if>
107
+            <if test="scoreResult != null">score_result,</if>
108
+            <if test="amountResult != null">amount_result,</if>
109
+        </trim>
110
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
111
+            <if test="tenantId != null">#{tenantId},</if>
112
+            <if test="revision != null">#{revision},</if>
113
+            <if test="createBy != null">#{createBy},</if>
114
+            <if test="createTime != null">#{createTime},</if>
115
+            <if test="updateBy != null">#{updateBy},</if>
116
+            <if test="updateTime != null">#{updateTime},</if>
117
+            <if test="remark != null">#{remark},</if>
118
+            <if test="sourceType != null and sourceType != ''">#{sourceType},</if>
119
+            <if test="sourceId != null">#{sourceId},</if>
120
+            <if test="indicatorId != null">#{indicatorId},</if>
121
+            <if test="indicatorCode != null and indicatorCode != ''">#{indicatorCode},</if>
122
+            <if test="indicatorName != null and indicatorName != ''">#{indicatorName},</if>
123
+            <if test="score != null">#{score},</if>
124
+            <if test="unit != null">#{unit},</if>
125
+            <if test="rewardPunishmentType != null and rewardPunishmentType != ''">#{rewardPunishmentType},</if>
126
+            <if test="qcDeptType != null and qcDeptType != ''">#{qcDeptType},</if>
127
+            <if test="occurCount != null">#{occurCount},</if>
128
+            <if test="scoreResult != null">#{scoreResult},</if>
129
+            <if test="amountResult != null">#{amountResult},</if>
130
+        </trim>
131
+    </insert>
132
+
133
+    <update id="updatePersonnelMonthlyAssessmentIndicatorDetail"
134
+            parameterType="PersonnelMonthlyAssessmentIndicatorDetail">
135
+        update personnel_monthly_assessment_indicator_detail
136
+        <trim prefix="SET" suffixOverrides=",">
137
+            <if test="tenantId != null">tenant_id = #{tenantId},</if>
138
+            <if test="revision != null">revision = #{revision},</if>
139
+            <if test="createBy != null">create_by = #{createBy},</if>
140
+            <if test="createTime != null">create_time = #{createTime},</if>
141
+            <if test="updateBy != null">update_by = #{updateBy},</if>
142
+            <if test="updateTime != null">update_time = #{updateTime},</if>
143
+            <if test="remark != null">remark = #{remark},</if>
144
+            <if test="sourceType != null and sourceType != ''">source_type = #{sourceType},</if>
145
+            <if test="sourceId != null">source_id = #{sourceId},</if>
146
+            <if test="indicatorId != null">indicator_id = #{indicatorId},</if>
147
+            <if test="indicatorCode != null and indicatorCode != ''">indicator_code = #{indicatorCode},</if>
148
+            <if test="indicatorName != null and indicatorName != ''">indicator_name = #{indicatorName},</if>
149
+            <if test="score != null">score = #{score},</if>
150
+            <if test="unit != null">unit = #{unit},</if>
151
+            <if test="rewardPunishmentType != null and rewardPunishmentType != ''">reward_punishment_type =
152
+                #{rewardPunishmentType},
153
+            </if>
154
+            <if test="qcDeptType != null and qcDeptType != ''">qc_dept_type = #{qcDeptType},</if>
155
+            <if test="occurCount != null">occur_count = #{occurCount},</if>
156
+            <if test="scoreResult != null">score_result = #{scoreResult},</if>
157
+            <if test="amountResult != null">amount_result = #{amountResult},</if>
158
+        </trim>
159
+        where id = #{id}
160
+    </update>
161
+
162
+    <delete id="deletePersonnelMonthlyAssessmentIndicatorDetailById" parameterType="Long">
163
+        delete
164
+        from personnel_monthly_assessment_indicator_detail
165
+        where id = #{id}
166
+    </delete>
167
+
168
+    <delete id="deletePersonnelMonthlyAssessmentIndicatorDetailByIds" parameterType="String">
169
+        delete from personnel_monthly_assessment_indicator_detail where id in
170
+        <foreach item="id" collection="array" open="(" separator="," close=")">
171
+            #{id}
172
+        </foreach>
173
+    </delete>
174
+</mapper>

+ 136 - 0
airport-personnel/src/main/resources/mapper/personnel/PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper.xml

@@ -0,0 +1,136 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper
3
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+<mapper namespace="com.sundot.airport.personnel.mapper.PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper">
6
+
7
+    <resultMap type="PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail"
8
+               id="PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailResult">
9
+        <result property="tenantId" column="tenant_id"/>
10
+        <result property="revision" column="revision"/>
11
+        <result property="createBy" column="create_by"/>
12
+        <result property="createTime" column="create_time"/>
13
+        <result property="updateBy" column="update_by"/>
14
+        <result property="updateTime" column="update_time"/>
15
+        <result property="remark" column="remark"/>
16
+        <result property="id" column="id"/>
17
+        <result property="sourceType" column="source_type"/>
18
+        <result property="sourceId" column="source_id"/>
19
+        <result property="rewardPunishmentType" column="reward_punishment_type"/>
20
+        <result property="rewardPunishmentDetail" column="reward_punishment_detail"/>
21
+        <result property="amount" column="amount"/>
22
+    </resultMap>
23
+
24
+    <sql id="selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailVo">
25
+        select tenant_id,
26
+               revision,
27
+               create_by,
28
+               create_time,
29
+               update_by,
30
+               update_time,
31
+               remark,
32
+               id,
33
+               source_type,
34
+               source_id,
35
+               reward_punishment_type,
36
+               reward_punishment_detail,
37
+               amount
38
+        from personnel_monthly_assessment_indicator_reward_punishment_detail
39
+    </sql>
40
+
41
+    <select id="selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailList"
42
+            parameterType="PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail"
43
+            resultMap="PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailResult">
44
+        <include refid="selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailVo"/>
45
+        <where>
46
+            <if test="tenantId != null  and tenantId != ''">and tenant_id = #{tenantId}</if>
47
+            <if test="revision != null ">and revision = #{revision}</if>
48
+            <if test="sourceType != null  and sourceType != ''">and source_type = #{sourceType}</if>
49
+            <if test="sourceId != null ">and source_id = #{sourceId}</if>
50
+            <if test="rewardPunishmentType != null  and rewardPunishmentType != ''">and reward_punishment_type =
51
+                #{rewardPunishmentType}
52
+            </if>
53
+            <if test="rewardPunishmentDetail != null  and rewardPunishmentDetail != ''">and reward_punishment_detail =
54
+                #{rewardPunishmentDetail}
55
+            </if>
56
+            <if test="amount != null ">and amount = #{amount}</if>
57
+        </where>
58
+    </select>
59
+
60
+    <select id="selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailById" parameterType="Long"
61
+            resultMap="PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailResult">
62
+        <include refid="selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailVo"/>
63
+        where id = #{id}
64
+    </select>
65
+
66
+    <insert id="insertPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail"
67
+            parameterType="PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail" useGeneratedKeys="true"
68
+            keyProperty="id">
69
+        insert into personnel_monthly_assessment_indicator_reward_punishment_detail
70
+        <trim prefix="(" suffix=")" suffixOverrides=",">
71
+            <if test="tenantId != null">tenant_id,</if>
72
+            <if test="revision != null">revision,</if>
73
+            <if test="createBy != null">create_by,</if>
74
+            <if test="createTime != null">create_time,</if>
75
+            <if test="updateBy != null">update_by,</if>
76
+            <if test="updateTime != null">update_time,</if>
77
+            <if test="remark != null">remark,</if>
78
+            <if test="sourceType != null and sourceType != ''">source_type,</if>
79
+            <if test="sourceId != null">source_id,</if>
80
+            <if test="rewardPunishmentType != null and rewardPunishmentType != ''">reward_punishment_type,</if>
81
+            <if test="rewardPunishmentDetail != null and rewardPunishmentDetail != ''">reward_punishment_detail,</if>
82
+            <if test="amount != null">amount,</if>
83
+        </trim>
84
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
85
+            <if test="tenantId != null">#{tenantId},</if>
86
+            <if test="revision != null">#{revision},</if>
87
+            <if test="createBy != null">#{createBy},</if>
88
+            <if test="createTime != null">#{createTime},</if>
89
+            <if test="updateBy != null">#{updateBy},</if>
90
+            <if test="updateTime != null">#{updateTime},</if>
91
+            <if test="remark != null">#{remark},</if>
92
+            <if test="sourceType != null and sourceType != ''">#{sourceType},</if>
93
+            <if test="sourceId != null">#{sourceId},</if>
94
+            <if test="rewardPunishmentType != null and rewardPunishmentType != ''">#{rewardPunishmentType},</if>
95
+            <if test="rewardPunishmentDetail != null and rewardPunishmentDetail != ''">#{rewardPunishmentDetail},</if>
96
+            <if test="amount != null">#{amount},</if>
97
+        </trim>
98
+    </insert>
99
+
100
+    <update id="updatePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail"
101
+            parameterType="PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail">
102
+        update personnel_monthly_assessment_indicator_reward_punishment_detail
103
+        <trim prefix="SET" suffixOverrides=",">
104
+            <if test="tenantId != null">tenant_id = #{tenantId},</if>
105
+            <if test="revision != null">revision = #{revision},</if>
106
+            <if test="createBy != null">create_by = #{createBy},</if>
107
+            <if test="createTime != null">create_time = #{createTime},</if>
108
+            <if test="updateBy != null">update_by = #{updateBy},</if>
109
+            <if test="updateTime != null">update_time = #{updateTime},</if>
110
+            <if test="remark != null">remark = #{remark},</if>
111
+            <if test="sourceType != null and sourceType != ''">source_type = #{sourceType},</if>
112
+            <if test="sourceId != null">source_id = #{sourceId},</if>
113
+            <if test="rewardPunishmentType != null and rewardPunishmentType != ''">reward_punishment_type =
114
+                #{rewardPunishmentType},
115
+            </if>
116
+            <if test="rewardPunishmentDetail != null and rewardPunishmentDetail != ''">reward_punishment_detail =
117
+                #{rewardPunishmentDetail},
118
+            </if>
119
+            <if test="amount != null">amount = #{amount},</if>
120
+        </trim>
121
+        where id = #{id}
122
+    </update>
123
+
124
+    <delete id="deletePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailById" parameterType="Long">
125
+        delete
126
+        from personnel_monthly_assessment_indicator_reward_punishment_detail
127
+        where id = #{id}
128
+    </delete>
129
+
130
+    <delete id="deletePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailByIds" parameterType="String">
131
+        delete from personnel_monthly_assessment_indicator_reward_punishment_detail where id in
132
+        <foreach item="id" collection="array" open="(" separator="," close=")">
133
+            #{id}
134
+        </foreach>
135
+    </delete>
136
+</mapper>

+ 334 - 0
airport-personnel/src/main/resources/mapper/personnel/PersonnelNonCadreMonthlyAssessmentMapper.xml

@@ -0,0 +1,334 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper
3
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+<mapper namespace="com.sundot.airport.personnel.mapper.PersonnelNonCadreMonthlyAssessmentMapper">
6
+
7
+    <resultMap type="PersonnelNonCadreMonthlyAssessment" id="PersonnelNonCadreMonthlyAssessmentResult">
8
+        <result property="tenantId" column="tenant_id"/>
9
+        <result property="revision" column="revision"/>
10
+        <result property="createBy" column="create_by"/>
11
+        <result property="createTime" column="create_time"/>
12
+        <result property="updateBy" column="update_by"/>
13
+        <result property="updateTime" column="update_time"/>
14
+        <result property="remark" column="remark"/>
15
+        <result property="id" column="id"/>
16
+        <result property="assessmentMonth" column="assessment_month"/>
17
+        <result property="userId" column="user_id"/>
18
+        <result property="userName" column="user_name"/>
19
+        <result property="employmentType" column="employment_type"/>
20
+        <result property="assessmentTeam" column="assessment_team"/>
21
+        <result property="post" column="post"/>
22
+        <result property="deputyTeamLeaderId" column="deputy_team_leader_id"/>
23
+        <result property="deputyTeamLeaderName" column="deputy_team_leader_name"/>
24
+        <result property="deputySupervisorId" column="deputy_supervisor_id"/>
25
+        <result property="deputySupervisorName" column="deputy_supervisor_name"/>
26
+        <result property="deputyManagerId" column="deputy_manager_id"/>
27
+        <result property="deputyManagerName" column="deputy_manager_name"/>
28
+        <result property="redLineIndexTriggerCount" column="red_line_index_trigger_count"/>
29
+        <result property="coreIndexScore" column="core_index_score"/>
30
+        <result property="otherIndexScore" column="other_index_score"/>
31
+        <result property="otherIndexSafetyScoreWithSocStationQcDeduction"
32
+                column="other_index_safety_score_with_soc_station_qc_deduction"/>
33
+        <result property="otherIndexSafetyScoreWithoutSocStationQcDeduction"
34
+                column="other_index_safety_score_without_soc_station_qc_deduction"/>
35
+        <result property="otherIndexNonSafetyDeduction" column="other_index_non_safety_deduction"/>
36
+        <result property="nonCoreSafetyPlusCoreDeduction" column="non_core_safety_plus_core_deduction"/>
37
+        <result property="socStationQcInvolvedCoreSafetyDeduction"
38
+                column="soc_station_qc_involved_core_safety_deduction"/>
39
+        <result property="inChargeEmployeeCount" column="in_charge_employee_count"/>
40
+        <result property="deductionAverage" column="deduction_average"/>
41
+        <result property="totalScore" column="total_score"/>
42
+        <result property="rewardAmount" column="reward_amount"/>
43
+        <result property="punishmentAmount" column="punishment_amount"/>
44
+        <result property="assessmentResult" column="assessment_result"/>
45
+        <result property="assessmentResultRemark" column="assessment_result_remark"/>
46
+        <result property="applicationMethod" column="application_method"/>
47
+        <result property="applicationMethodRemark" column="application_method_remark"/>
48
+        <result property="exemption" column="exemption"/>
49
+        <result property="exemptionReasonRemark" column="exemption_reason_remark"/>
50
+    </resultMap>
51
+
52
+    <sql id="selectPersonnelNonCadreMonthlyAssessmentVo">
53
+        select tenant_id,
54
+               revision,
55
+               create_by,
56
+               create_time,
57
+               update_by,
58
+               update_time,
59
+               remark,
60
+               id,
61
+               assessment_month,
62
+               user_id,
63
+               user_name,
64
+               employment_type,
65
+               assessment_team,
66
+               post,
67
+               deputy_team_leader_id,
68
+               deputy_team_leader_name,
69
+               deputy_supervisor_id,
70
+               deputy_supervisor_name,
71
+               deputy_manager_id,
72
+               deputy_manager_name,
73
+               red_line_index_trigger_count,
74
+               core_index_score,
75
+               other_index_score,
76
+               other_index_safety_score_with_soc_station_qc_deduction,
77
+               other_index_safety_score_without_soc_station_qc_deduction,
78
+               other_index_non_safety_deduction,
79
+               non_core_safety_plus_core_deduction,
80
+               soc_station_qc_involved_core_safety_deduction,
81
+               in_charge_employee_count,
82
+               deduction_average,
83
+               total_score,
84
+               reward_amount,
85
+               punishment_amount,
86
+               assessment_result,
87
+               assessment_result_remark,
88
+               application_method,
89
+               application_method_remark,
90
+               exemption,
91
+               exemption_reason_remark
92
+        from personnel_non_cadre_monthly_assessment
93
+    </sql>
94
+
95
+    <select id="selectPersonnelNonCadreMonthlyAssessmentList" parameterType="PersonnelNonCadreMonthlyAssessment"
96
+            resultMap="PersonnelNonCadreMonthlyAssessmentResult">
97
+        <include refid="selectPersonnelNonCadreMonthlyAssessmentVo"/>
98
+        <where>
99
+            <if test="tenantId != null  and tenantId != ''">and tenant_id = #{tenantId}</if>
100
+            <if test="revision != null ">and revision = #{revision}</if>
101
+            <if test="assessmentMonth != null  and assessmentMonth != ''">and assessment_month = #{assessmentMonth}</if>
102
+            <if test="userId != null ">and user_id = #{userId}</if>
103
+            <if test="userName != null  and userName != ''">and user_name like concat('%', #{userName}, '%')</if>
104
+            <if test="employmentType != null  and employmentType != ''">and employment_type = #{employmentType}</if>
105
+            <if test="assessmentTeam != null  and assessmentTeam != ''">and assessment_team = #{assessmentTeam}</if>
106
+            <if test="post != null  and post != ''">and post = #{post}</if>
107
+            <if test="deputyTeamLeaderId != null ">and deputy_team_leader_id = #{deputyTeamLeaderId}</if>
108
+            <if test="deputyTeamLeaderName != null  and deputyTeamLeaderName != ''">and deputy_team_leader_name like
109
+                concat('%', #{deputyTeamLeaderName}, '%')
110
+            </if>
111
+            <if test="deputySupervisorId != null ">and deputy_supervisor_id = #{deputySupervisorId}</if>
112
+            <if test="deputySupervisorName != null  and deputySupervisorName != ''">and deputy_supervisor_name like
113
+                concat('%', #{deputySupervisorName}, '%')
114
+            </if>
115
+            <if test="deputyManagerId != null ">and deputy_manager_id = #{deputyManagerId}</if>
116
+            <if test="deputyManagerName != null  and deputyManagerName != ''">and deputy_manager_name like concat('%',
117
+                #{deputyManagerName}, '%')
118
+            </if>
119
+            <if test="redLineIndexTriggerCount != null ">and red_line_index_trigger_count =
120
+                #{redLineIndexTriggerCount}
121
+            </if>
122
+            <if test="coreIndexScore != null ">and core_index_score = #{coreIndexScore}</if>
123
+            <if test="otherIndexScore != null ">and other_index_score = #{otherIndexScore}</if>
124
+            <if test="otherIndexSafetyScoreWithSocStationQcDeduction != null ">and
125
+                other_index_safety_score_with_soc_station_qc_deduction =
126
+                #{otherIndexSafetyScoreWithSocStationQcDeduction}
127
+            </if>
128
+            <if test="otherIndexSafetyScoreWithoutSocStationQcDeduction != null ">and
129
+                other_index_safety_score_without_soc_station_qc_deduction =
130
+                #{otherIndexSafetyScoreWithoutSocStationQcDeduction}
131
+            </if>
132
+            <if test="otherIndexNonSafetyDeduction != null ">and other_index_non_safety_deduction =
133
+                #{otherIndexNonSafetyDeduction}
134
+            </if>
135
+            <if test="nonCoreSafetyPlusCoreDeduction != null ">and non_core_safety_plus_core_deduction =
136
+                #{nonCoreSafetyPlusCoreDeduction}
137
+            </if>
138
+            <if test="socStationQcInvolvedCoreSafetyDeduction != null ">and
139
+                soc_station_qc_involved_core_safety_deduction = #{socStationQcInvolvedCoreSafetyDeduction}
140
+            </if>
141
+            <if test="inChargeEmployeeCount != null ">and in_charge_employee_count = #{inChargeEmployeeCount}</if>
142
+            <if test="deductionAverage != null ">and deduction_average = #{deductionAverage}</if>
143
+            <if test="totalScore != null ">and total_score = #{totalScore}</if>
144
+            <if test="rewardAmount != null ">and reward_amount = #{rewardAmount}</if>
145
+            <if test="punishmentAmount != null ">and punishment_amount = #{punishmentAmount}</if>
146
+            <if test="assessmentResult != null  and assessmentResult != ''">and assessment_result =
147
+                #{assessmentResult}
148
+            </if>
149
+            <if test="assessmentResultRemark != null  and assessmentResultRemark != ''">and assessment_result_remark =
150
+                #{assessmentResultRemark}
151
+            </if>
152
+            <if test="applicationMethod != null  and applicationMethod != ''">and application_method =
153
+                #{applicationMethod}
154
+            </if>
155
+            <if test="applicationMethodRemark != null  and applicationMethodRemark != ''">and application_method_remark
156
+                = #{applicationMethodRemark}
157
+            </if>
158
+            <if test="exemption != null  and exemption != ''">and exemption = #{exemption}</if>
159
+            <if test="exemptionReasonRemark != null  and exemptionReasonRemark != ''">and exemption_reason_remark =
160
+                #{exemptionReasonRemark}
161
+            </if>
162
+        </where>
163
+    </select>
164
+
165
+    <select id="selectPersonnelNonCadreMonthlyAssessmentById" parameterType="Long"
166
+            resultMap="PersonnelNonCadreMonthlyAssessmentResult">
167
+        <include refid="selectPersonnelNonCadreMonthlyAssessmentVo"/>
168
+        where id = #{id}
169
+    </select>
170
+
171
+    <insert id="insertPersonnelNonCadreMonthlyAssessment" parameterType="PersonnelNonCadreMonthlyAssessment"
172
+            useGeneratedKeys="true" keyProperty="id">
173
+        insert into personnel_non_cadre_monthly_assessment
174
+        <trim prefix="(" suffix=")" suffixOverrides=",">
175
+            <if test="tenantId != null">tenant_id,</if>
176
+            <if test="revision != null">revision,</if>
177
+            <if test="createBy != null">create_by,</if>
178
+            <if test="createTime != null">create_time,</if>
179
+            <if test="updateBy != null">update_by,</if>
180
+            <if test="updateTime != null">update_time,</if>
181
+            <if test="remark != null">remark,</if>
182
+            <if test="assessmentMonth != null and assessmentMonth != ''">assessment_month,</if>
183
+            <if test="userId != null">user_id,</if>
184
+            <if test="userName != null and userName != ''">user_name,</if>
185
+            <if test="employmentType != null">employment_type,</if>
186
+            <if test="assessmentTeam != null">assessment_team,</if>
187
+            <if test="post != null">post,</if>
188
+            <if test="deputyTeamLeaderId != null">deputy_team_leader_id,</if>
189
+            <if test="deputyTeamLeaderName != null">deputy_team_leader_name,</if>
190
+            <if test="deputySupervisorId != null">deputy_supervisor_id,</if>
191
+            <if test="deputySupervisorName != null">deputy_supervisor_name,</if>
192
+            <if test="deputyManagerId != null">deputy_manager_id,</if>
193
+            <if test="deputyManagerName != null">deputy_manager_name,</if>
194
+            <if test="redLineIndexTriggerCount != null">red_line_index_trigger_count,</if>
195
+            <if test="coreIndexScore != null">core_index_score,</if>
196
+            <if test="otherIndexScore != null">other_index_score,</if>
197
+            <if test="otherIndexSafetyScoreWithSocStationQcDeduction != null">
198
+                other_index_safety_score_with_soc_station_qc_deduction,
199
+            </if>
200
+            <if test="otherIndexSafetyScoreWithoutSocStationQcDeduction != null">
201
+                other_index_safety_score_without_soc_station_qc_deduction,
202
+            </if>
203
+            <if test="otherIndexNonSafetyDeduction != null">other_index_non_safety_deduction,</if>
204
+            <if test="nonCoreSafetyPlusCoreDeduction != null">non_core_safety_plus_core_deduction,</if>
205
+            <if test="socStationQcInvolvedCoreSafetyDeduction != null">soc_station_qc_involved_core_safety_deduction,
206
+            </if>
207
+            <if test="inChargeEmployeeCount != null">in_charge_employee_count,</if>
208
+            <if test="deductionAverage != null">deduction_average,</if>
209
+            <if test="totalScore != null">total_score,</if>
210
+            <if test="rewardAmount != null">reward_amount,</if>
211
+            <if test="punishmentAmount != null">punishment_amount,</if>
212
+            <if test="assessmentResult != null">assessment_result,</if>
213
+            <if test="assessmentResultRemark != null">assessment_result_remark,</if>
214
+            <if test="applicationMethod != null">application_method,</if>
215
+            <if test="applicationMethodRemark != null">application_method_remark,</if>
216
+            <if test="exemption != null">exemption,</if>
217
+            <if test="exemptionReasonRemark != null">exemption_reason_remark,</if>
218
+        </trim>
219
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
220
+            <if test="tenantId != null">#{tenantId},</if>
221
+            <if test="revision != null">#{revision},</if>
222
+            <if test="createBy != null">#{createBy},</if>
223
+            <if test="createTime != null">#{createTime},</if>
224
+            <if test="updateBy != null">#{updateBy},</if>
225
+            <if test="updateTime != null">#{updateTime},</if>
226
+            <if test="remark != null">#{remark},</if>
227
+            <if test="assessmentMonth != null and assessmentMonth != ''">#{assessmentMonth},</if>
228
+            <if test="userId != null">#{userId},</if>
229
+            <if test="userName != null and userName != ''">#{userName},</if>
230
+            <if test="employmentType != null">#{employmentType},</if>
231
+            <if test="assessmentTeam != null">#{assessmentTeam},</if>
232
+            <if test="post != null">#{post},</if>
233
+            <if test="deputyTeamLeaderId != null">#{deputyTeamLeaderId},</if>
234
+            <if test="deputyTeamLeaderName != null">#{deputyTeamLeaderName},</if>
235
+            <if test="deputySupervisorId != null">#{deputySupervisorId},</if>
236
+            <if test="deputySupervisorName != null">#{deputySupervisorName},</if>
237
+            <if test="deputyManagerId != null">#{deputyManagerId},</if>
238
+            <if test="deputyManagerName != null">#{deputyManagerName},</if>
239
+            <if test="redLineIndexTriggerCount != null">#{redLineIndexTriggerCount},</if>
240
+            <if test="coreIndexScore != null">#{coreIndexScore},</if>
241
+            <if test="otherIndexScore != null">#{otherIndexScore},</if>
242
+            <if test="otherIndexSafetyScoreWithSocStationQcDeduction != null">
243
+                #{otherIndexSafetyScoreWithSocStationQcDeduction},
244
+            </if>
245
+            <if test="otherIndexSafetyScoreWithoutSocStationQcDeduction != null">
246
+                #{otherIndexSafetyScoreWithoutSocStationQcDeduction},
247
+            </if>
248
+            <if test="otherIndexNonSafetyDeduction != null">#{otherIndexNonSafetyDeduction},</if>
249
+            <if test="nonCoreSafetyPlusCoreDeduction != null">#{nonCoreSafetyPlusCoreDeduction},</if>
250
+            <if test="socStationQcInvolvedCoreSafetyDeduction != null">#{socStationQcInvolvedCoreSafetyDeduction},</if>
251
+            <if test="inChargeEmployeeCount != null">#{inChargeEmployeeCount},</if>
252
+            <if test="deductionAverage != null">#{deductionAverage},</if>
253
+            <if test="totalScore != null">#{totalScore},</if>
254
+            <if test="rewardAmount != null">#{rewardAmount},</if>
255
+            <if test="punishmentAmount != null">#{punishmentAmount},</if>
256
+            <if test="assessmentResult != null">#{assessmentResult},</if>
257
+            <if test="assessmentResultRemark != null">#{assessmentResultRemark},</if>
258
+            <if test="applicationMethod != null">#{applicationMethod},</if>
259
+            <if test="applicationMethodRemark != null">#{applicationMethodRemark},</if>
260
+            <if test="exemption != null">#{exemption},</if>
261
+            <if test="exemptionReasonRemark != null">#{exemptionReasonRemark},</if>
262
+        </trim>
263
+    </insert>
264
+
265
+    <update id="updatePersonnelNonCadreMonthlyAssessment" parameterType="PersonnelNonCadreMonthlyAssessment">
266
+        update personnel_non_cadre_monthly_assessment
267
+        <trim prefix="SET" suffixOverrides=",">
268
+            <if test="tenantId != null">tenant_id = #{tenantId},</if>
269
+            <if test="revision != null">revision = #{revision},</if>
270
+            <if test="createBy != null">create_by = #{createBy},</if>
271
+            <if test="createTime != null">create_time = #{createTime},</if>
272
+            <if test="updateBy != null">update_by = #{updateBy},</if>
273
+            <if test="updateTime != null">update_time = #{updateTime},</if>
274
+            <if test="remark != null">remark = #{remark},</if>
275
+            <if test="assessmentMonth != null and assessmentMonth != ''">assessment_month = #{assessmentMonth},</if>
276
+            <if test="userId != null">user_id = #{userId},</if>
277
+            <if test="userName != null and userName != ''">user_name = #{userName},</if>
278
+            <if test="employmentType != null">employment_type = #{employmentType},</if>
279
+            <if test="assessmentTeam != null">assessment_team = #{assessmentTeam},</if>
280
+            <if test="post != null">post = #{post},</if>
281
+            <if test="deputyTeamLeaderId != null">deputy_team_leader_id = #{deputyTeamLeaderId},</if>
282
+            <if test="deputyTeamLeaderName != null">deputy_team_leader_name = #{deputyTeamLeaderName},</if>
283
+            <if test="deputySupervisorId != null">deputy_supervisor_id = #{deputySupervisorId},</if>
284
+            <if test="deputySupervisorName != null">deputy_supervisor_name = #{deputySupervisorName},</if>
285
+            <if test="deputyManagerId != null">deputy_manager_id = #{deputyManagerId},</if>
286
+            <if test="deputyManagerName != null">deputy_manager_name = #{deputyManagerName},</if>
287
+            <if test="redLineIndexTriggerCount != null">red_line_index_trigger_count = #{redLineIndexTriggerCount},</if>
288
+            <if test="coreIndexScore != null">core_index_score = #{coreIndexScore},</if>
289
+            <if test="otherIndexScore != null">other_index_score = #{otherIndexScore},</if>
290
+            <if test="otherIndexSafetyScoreWithSocStationQcDeduction != null">
291
+                other_index_safety_score_with_soc_station_qc_deduction =
292
+                #{otherIndexSafetyScoreWithSocStationQcDeduction},
293
+            </if>
294
+            <if test="otherIndexSafetyScoreWithoutSocStationQcDeduction != null">
295
+                other_index_safety_score_without_soc_station_qc_deduction =
296
+                #{otherIndexSafetyScoreWithoutSocStationQcDeduction},
297
+            </if>
298
+            <if test="otherIndexNonSafetyDeduction != null">other_index_non_safety_deduction =
299
+                #{otherIndexNonSafetyDeduction},
300
+            </if>
301
+            <if test="nonCoreSafetyPlusCoreDeduction != null">non_core_safety_plus_core_deduction =
302
+                #{nonCoreSafetyPlusCoreDeduction},
303
+            </if>
304
+            <if test="socStationQcInvolvedCoreSafetyDeduction != null">soc_station_qc_involved_core_safety_deduction =
305
+                #{socStationQcInvolvedCoreSafetyDeduction},
306
+            </if>
307
+            <if test="inChargeEmployeeCount != null">in_charge_employee_count = #{inChargeEmployeeCount},</if>
308
+            <if test="deductionAverage != null">deduction_average = #{deductionAverage},</if>
309
+            <if test="totalScore != null">total_score = #{totalScore},</if>
310
+            <if test="rewardAmount != null">reward_amount = #{rewardAmount},</if>
311
+            <if test="punishmentAmount != null">punishment_amount = #{punishmentAmount},</if>
312
+            <if test="assessmentResult != null">assessment_result = #{assessmentResult},</if>
313
+            <if test="assessmentResultRemark != null">assessment_result_remark = #{assessmentResultRemark},</if>
314
+            <if test="applicationMethod != null">application_method = #{applicationMethod},</if>
315
+            <if test="applicationMethodRemark != null">application_method_remark = #{applicationMethodRemark},</if>
316
+            <if test="exemption != null">exemption = #{exemption},</if>
317
+            <if test="exemptionReasonRemark != null">exemption_reason_remark = #{exemptionReasonRemark},</if>
318
+        </trim>
319
+        where id = #{id}
320
+    </update>
321
+
322
+    <delete id="deletePersonnelNonCadreMonthlyAssessmentById" parameterType="Long">
323
+        delete
324
+        from personnel_non_cadre_monthly_assessment
325
+        where id = #{id}
326
+    </delete>
327
+
328
+    <delete id="deletePersonnelNonCadreMonthlyAssessmentByIds" parameterType="String">
329
+        delete from personnel_non_cadre_monthly_assessment where id in
330
+        <foreach item="id" collection="array" open="(" separator="," close=")">
331
+            #{id}
332
+        </foreach>
333
+    </delete>
334
+</mapper>

+ 8 - 0
pom.xml

@@ -260,6 +260,13 @@
260 260
                 <version>${airport.version}</version>
261 261
             </dependency>
262 262
 
263
+            <!-- 人事绩效模块模块-->
264
+            <dependency>
265
+                <groupId>com.sundot.airport</groupId>
266
+                <artifactId>airport-personnel</artifactId>
267
+                <version>${airport.version}</version>
268
+            </dependency>
269
+
263 270
             <dependency>
264 271
                 <groupId>org.projectlombok</groupId>
265 272
                 <artifactId>lombok</artifactId>
@@ -289,6 +296,7 @@
289 296
         <module>airport-check</module>
290 297
         <module>airport-attendance</module>
291 298
         <module>airport-blocked</module>
299
+        <module>airport-personnel</module>
292 300
     </modules>
293 301
     <packaging>pom</packaging>
294 302