浏览代码

人事绩效

chenshudong 1 月之前
父节点
当前提交
68d29d7fb3

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

@@ -52,6 +52,22 @@ public class PersonnelMonthlyAssessmentIndicatorDetail extends BaseEntity {
52 52
     @Excel(name = "指标名称")
53 53
     private String indicatorName;
54 54
 
55
+    /** 所属一级分类编码 */
56
+    @Excel(name = "所属一级分类编码")
57
+    private String categoryCodeOne;
58
+
59
+    /** 所属一级分类名称 */
60
+    @Excel(name = "所属一级分类名称")
61
+    private String categoryNameOne;
62
+
63
+    /** 所属二级分类编码 */
64
+    @Excel(name = "所属二级分类编码")
65
+    private String categoryCode;
66
+
67
+    /** 所属二级分类名称 */
68
+    @Excel(name = "所属二级分类名称")
69
+    private String categoryName;
70
+
55 71
     /** 分值 */
56 72
     @Excel(name = "分值")
57 73
     private BigDecimal score;
@@ -155,6 +171,38 @@ public class PersonnelMonthlyAssessmentIndicatorDetail extends BaseEntity {
155 171
         return indicatorName;
156 172
     }
157 173
 
174
+    public String getCategoryCodeOne() {
175
+        return categoryCodeOne;
176
+    }
177
+
178
+    public void setCategoryCodeOne(String categoryCodeOne) {
179
+        this.categoryCodeOne = categoryCodeOne;
180
+    }
181
+
182
+    public String getCategoryNameOne() {
183
+        return categoryNameOne;
184
+    }
185
+
186
+    public void setCategoryNameOne(String categoryNameOne) {
187
+        this.categoryNameOne = categoryNameOne;
188
+    }
189
+
190
+    public String getCategoryCode() {
191
+        return categoryCode;
192
+    }
193
+
194
+    public void setCategoryCode(String categoryCode) {
195
+        this.categoryCode = categoryCode;
196
+    }
197
+
198
+    public String getCategoryName() {
199
+        return categoryName;
200
+    }
201
+
202
+    public void setCategoryName(String categoryName) {
203
+        this.categoryName = categoryName;
204
+    }
205
+
158 206
     public void setScore(BigDecimal score) {
159 207
         this.score = score;
160 208
     }
@@ -243,6 +291,10 @@ public class PersonnelMonthlyAssessmentIndicatorDetail extends BaseEntity {
243 291
                 .append("indicatorId", getIndicatorId())
244 292
                 .append("indicatorCode", getIndicatorCode())
245 293
                 .append("indicatorName", getIndicatorName())
294
+                .append("categoryCodeOne", getCategoryCodeOne())
295
+                .append("categoryNameOne", getCategoryNameOne())
296
+                .append("categoryCode", getCategoryCode())
297
+                .append("categoryName", getCategoryName())
246 298
                 .append("score", getScore())
247 299
                 .append("unit", getUnit())
248 300
                 .append("leaveType", getLeaveType())

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

@@ -18,6 +18,10 @@
18 18
         <result property="indicatorId" column="indicator_id"/>
19 19
         <result property="indicatorCode" column="indicator_code"/>
20 20
         <result property="indicatorName" column="indicator_name"/>
21
+        <result property="categoryCodeOne" column="category_code_one"/>
22
+        <result property="categoryNameOne" column="category_name_one"/>
23
+        <result property="categoryCode" column="category_code"/>
24
+        <result property="categoryName" column="category_name"/>
21 25
         <result property="score" column="score"/>
22 26
         <result property="unit" column="unit"/>
23 27
         <result property="leaveType" column="leave_type"/>
@@ -42,6 +46,10 @@
42 46
                indicator_id,
43 47
                indicator_code,
44 48
                indicator_name,
49
+               category_code_one,
50
+               category_name_one,
51
+               category_code,
52
+               category_name,
45 53
                score,
46 54
                unit,
47 55
                leave_type,
@@ -67,6 +75,15 @@
67 75
             <if test="indicatorName != null  and indicatorName != ''">and indicator_name like concat('%',
68 76
                 #{indicatorName}, '%')
69 77
             </if>
78
+            <if test="categoryCodeOne != null  and categoryCodeOne != ''">and category_code_one = #{categoryCodeOne}
79
+            </if>
80
+            <if test="categoryNameOne != null  and categoryNameOne != ''">and category_name_one like concat('%',
81
+                #{categoryNameOne}, '%')
82
+            </if>
83
+            <if test="categoryCode != null  and categoryCode != ''">and category_code = #{categoryCode}</if>
84
+            <if test="categoryName != null  and categoryName != ''">and category_name like concat('%',
85
+                #{categoryName}, '%')
86
+            </if>
70 87
             <if test="score != null ">and score = #{score}</if>
71 88
             <if test="unit != null  and unit != ''">and unit = #{unit}</if>
72 89
             <if test="leaveType != null  and leaveType != ''">and leave_type = #{leaveType}</if>
@@ -103,6 +120,10 @@
103 120
             <if test="indicatorId != null">indicator_id,</if>
104 121
             <if test="indicatorCode != null and indicatorCode != ''">indicator_code,</if>
105 122
             <if test="indicatorName != null and indicatorName != ''">indicator_name,</if>
123
+            <if test="categoryCodeOne != null and categoryCodeOne != ''">category_code_one,</if>
124
+            <if test="categoryNameOne != null and categoryNameOne != ''">category_name_one,</if>
125
+            <if test="categoryCode != null and categoryCode != ''">category_code,</if>
126
+            <if test="categoryName != null and categoryName != ''">category_name,</if>
106 127
             <if test="score != null">score,</if>
107 128
             <if test="unit != null">unit,</if>
108 129
             <if test="leaveType != null">leave_type,</if>
@@ -125,6 +146,10 @@
125 146
             <if test="indicatorId != null">#{indicatorId},</if>
126 147
             <if test="indicatorCode != null and indicatorCode != ''">#{indicatorCode},</if>
127 148
             <if test="indicatorName != null and indicatorName != ''">#{indicatorName},</if>
149
+            <if test="categoryCodeOne != null and categoryCodeOne != ''">#{categoryCodeOne},</if>
150
+            <if test="categoryNameOne != null and categoryNameOne != ''">#{categoryNameOne},</if>
151
+            <if test="categoryCode != null and categoryCode != ''">#{categoryCode},</if>
152
+            <if test="categoryName != null and categoryName != ''">#{categoryName},</if>
128 153
             <if test="score != null">#{score},</if>
129 154
             <if test="unit != null">#{unit},</if>
130 155
             <if test="leaveType != null">#{leaveType},</if>
@@ -152,6 +177,10 @@
152 177
             <if test="indicatorId != null">indicator_id = #{indicatorId},</if>
153 178
             <if test="indicatorCode != null and indicatorCode != ''">indicator_code = #{indicatorCode},</if>
154 179
             <if test="indicatorName != null and indicatorName != ''">indicator_name = #{indicatorName},</if>
180
+            <if test="categoryCodeOne != null and categoryCodeOne != ''">category_code_one = #{categoryCodeOne},</if>
181
+            <if test="categoryNameOne != null and categoryNameOne != ''">category_name_one = #{categoryNameOne},</if>
182
+            <if test="categoryCode != null and categoryCode != ''">category_code = #{categoryCode},</if>
183
+            <if test="categoryName != null and categoryName != ''">category_name = #{categoryName},</if>
155 184
             <if test="score != null">score = #{score},</if>
156 185
             <if test="unit != null">unit = #{unit},</if>
157 186
             <if test="leaveType != null">leave_type = #{leaveType},</if>