|
|
@@ -25,6 +25,8 @@
|
|
25
|
25
|
<result property="attendanceTeamName" column="attendance_team_name"/>
|
|
26
|
26
|
<result property="attendanceDepartmentId" column="attendance_department_id"/>
|
|
27
|
27
|
<result property="attendanceDepartmentName" column="attendance_department_name"/>
|
|
|
28
|
+ <result property="attendanceBrigadeId" column="attendance_brigade_id"/>
|
|
|
29
|
+ <result property="attendanceBrigadeName" column="attendance_brigade_name"/>
|
|
28
|
30
|
<result property="attendanceStationId" column="attendance_station_id"/>
|
|
29
|
31
|
<result property="attendanceStationName" column="attendance_station_name"/>
|
|
30
|
32
|
<result property="channelName" column="channel_name"/>
|
|
|
@@ -61,6 +63,8 @@
|
|
61
|
63
|
attendance_team_name,
|
|
62
|
64
|
attendance_department_id,
|
|
63
|
65
|
attendance_department_name,
|
|
|
66
|
+ attendance_brigade_id,
|
|
|
67
|
+ attendance_brigade_name,
|
|
64
|
68
|
attendance_station_id,
|
|
65
|
69
|
attendance_station_name,
|
|
66
|
70
|
channel_name,
|
|
|
@@ -108,6 +112,10 @@
|
|
108
|
112
|
<if test="attendanceDepartmentName != null and attendanceDepartmentName != ''">and
|
|
109
|
113
|
attendance_department_name like concat('%', #{attendanceDepartmentName}, '%')
|
|
110
|
114
|
</if>
|
|
|
115
|
+ <if test="attendanceBrigadeId != null ">and attendance_brigade_id = #{attendanceBrigadeId}</if>
|
|
|
116
|
+ <if test="attendanceBrigadeName != null and attendanceBrigadeName != ''">and
|
|
|
117
|
+ attendance_brigade_name like concat('%', #{attendanceBrigadeName}, '%')
|
|
|
118
|
+ </if>
|
|
111
|
119
|
<if test="attendanceStationId != null ">and attendance_station_id = #{attendanceStationId}</if>
|
|
112
|
120
|
<if test="attendanceStationName != null and attendanceStationName != ''">and attendance_station_name like
|
|
113
|
121
|
concat('%', #{attendanceStationName}, '%')
|
|
|
@@ -165,6 +173,8 @@
|
|
165
|
173
|
<if test="attendanceDepartmentId != null">attendance_department_id,</if>
|
|
166
|
174
|
<if test="attendanceDepartmentName != null and attendanceDepartmentName != ''">attendance_department_name,
|
|
167
|
175
|
</if>
|
|
|
176
|
+ <if test="attendanceBrigadeId != null">attendance_brigade_id,</if>
|
|
|
177
|
+ <if test="attendanceBrigadeName != null and attendanceBrigadeName != ''">attendance_brigade_name,</if>
|
|
168
|
178
|
<if test="attendanceStationId != null">attendance_station_id,</if>
|
|
169
|
179
|
<if test="attendanceStationName != null and attendanceStationName != ''">attendance_station_name,</if>
|
|
170
|
180
|
<if test="channelName != null and channelName != ''">channel_name,</if>
|
|
|
@@ -201,6 +211,8 @@
|
|
201
|
211
|
<if test="attendanceDepartmentName != null and attendanceDepartmentName != ''">
|
|
202
|
212
|
#{attendanceDepartmentName},
|
|
203
|
213
|
</if>
|
|
|
214
|
+ <if test="attendanceBrigadeId != null">#{attendanceBrigadeId},</if>
|
|
|
215
|
+ <if test="attendanceBrigadeName != null and attendanceBrigadeName != ''">#{attendanceBrigadeName},</if>
|
|
204
|
216
|
<if test="attendanceStationId != null">#{attendanceStationId},</if>
|
|
205
|
217
|
<if test="attendanceStationName != null and attendanceStationName != ''">#{attendanceStationName},</if>
|
|
206
|
218
|
<if test="channelName != null and channelName != ''">#{channelName},</if>
|
|
|
@@ -243,6 +255,10 @@
|
|
243
|
255
|
<if test="attendanceDepartmentName != null and attendanceDepartmentName != ''">attendance_department_name =
|
|
244
|
256
|
#{attendanceDepartmentName},
|
|
245
|
257
|
</if>
|
|
|
258
|
+ <if test="attendanceBrigadeId != null">attendance_brigade_id = #{attendanceBrigadeId},</if>
|
|
|
259
|
+ <if test="attendanceBrigadeName != null and attendanceBrigadeName != ''">attendance_brigade_name =
|
|
|
260
|
+ #{attendanceBrigadeName},
|
|
|
261
|
+ </if>
|
|
246
|
262
|
<if test="attendanceStationId != null">attendance_station_id = #{attendanceStationId},</if>
|
|
247
|
263
|
<if test="attendanceStationName != null and attendanceStationName != ''">attendance_station_name =
|
|
248
|
264
|
#{attendanceStationName},
|