|
|
@@ -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>
|