|
|
@@ -20,6 +20,7 @@
|
|
20
|
20
|
<result property="indicatorName" column="indicator_name"/>
|
|
21
|
21
|
<result property="score" column="score"/>
|
|
22
|
22
|
<result property="unit" column="unit"/>
|
|
|
23
|
+ <result property="leaveType" column="leave_type"/>
|
|
23
|
24
|
<result property="rewardPunishmentType" column="reward_punishment_type"/>
|
|
24
|
25
|
<result property="qcDeptType" column="qc_dept_type"/>
|
|
25
|
26
|
<result property="occurCount" column="occur_count"/>
|
|
|
@@ -43,6 +44,7 @@
|
|
43
|
44
|
indicator_name,
|
|
44
|
45
|
score,
|
|
45
|
46
|
unit,
|
|
|
47
|
+ leave_type,
|
|
46
|
48
|
reward_punishment_type,
|
|
47
|
49
|
qc_dept_type,
|
|
48
|
50
|
occur_count,
|
|
|
@@ -67,6 +69,7 @@
|
|
67
|
69
|
</if>
|
|
68
|
70
|
<if test="score != null ">and score = #{score}</if>
|
|
69
|
71
|
<if test="unit != null and unit != ''">and unit = #{unit}</if>
|
|
|
72
|
+ <if test="leaveType != null and leaveType != ''">and leave_type = #{leaveType}</if>
|
|
70
|
73
|
<if test="rewardPunishmentType != null and rewardPunishmentType != ''">and reward_punishment_type =
|
|
71
|
74
|
#{rewardPunishmentType}
|
|
72
|
75
|
</if>
|
|
|
@@ -75,6 +78,7 @@
|
|
75
|
78
|
<if test="scoreResult != null ">and score_result = #{scoreResult}</if>
|
|
76
|
79
|
<if test="amountResult != null ">and amount_result = #{amountResult}</if>
|
|
77
|
80
|
</where>
|
|
|
81
|
+ order by create_time desc
|
|
78
|
82
|
</select>
|
|
79
|
83
|
|
|
80
|
84
|
<select id="selectPersonnelMonthlyAssessmentIndicatorDetailById" parameterType="Long"
|
|
|
@@ -101,6 +105,7 @@
|
|
101
|
105
|
<if test="indicatorName != null and indicatorName != ''">indicator_name,</if>
|
|
102
|
106
|
<if test="score != null">score,</if>
|
|
103
|
107
|
<if test="unit != null">unit,</if>
|
|
|
108
|
+ <if test="leaveType != null">leave_type,</if>
|
|
104
|
109
|
<if test="rewardPunishmentType != null and rewardPunishmentType != ''">reward_punishment_type,</if>
|
|
105
|
110
|
<if test="qcDeptType != null and qcDeptType != ''">qc_dept_type,</if>
|
|
106
|
111
|
<if test="occurCount != null">occur_count,</if>
|
|
|
@@ -122,6 +127,7 @@
|
|
122
|
127
|
<if test="indicatorName != null and indicatorName != ''">#{indicatorName},</if>
|
|
123
|
128
|
<if test="score != null">#{score},</if>
|
|
124
|
129
|
<if test="unit != null">#{unit},</if>
|
|
|
130
|
+ <if test="leaveType != null">#{leaveType},</if>
|
|
125
|
131
|
<if test="rewardPunishmentType != null and rewardPunishmentType != ''">#{rewardPunishmentType},</if>
|
|
126
|
132
|
<if test="qcDeptType != null and qcDeptType != ''">#{qcDeptType},</if>
|
|
127
|
133
|
<if test="occurCount != null">#{occurCount},</if>
|
|
|
@@ -148,6 +154,7 @@
|
|
148
|
154
|
<if test="indicatorName != null and indicatorName != ''">indicator_name = #{indicatorName},</if>
|
|
149
|
155
|
<if test="score != null">score = #{score},</if>
|
|
150
|
156
|
<if test="unit != null">unit = #{unit},</if>
|
|
|
157
|
+ <if test="leaveType != null">leave_type = #{leaveType},</if>
|
|
151
|
158
|
<if test="rewardPunishmentType != null and rewardPunishmentType != ''">reward_punishment_type =
|
|
152
|
159
|
#{rewardPunishmentType},
|
|
153
|
160
|
</if>
|