소스 검색

漏检统计表

chenshudong 1 개월 전
부모
커밋
d859fed295
1개의 변경된 파일27개의 추가작업 그리고 27개의 파일을 삭제
  1. 27 27
      airport-blocked/src/main/java/com/sundot/airport/blocked/service/impl/BlockedMissCheckStatisticsServiceImpl.java

+ 27 - 27
airport-blocked/src/main/java/com/sundot/airport/blocked/service/impl/BlockedMissCheckStatisticsServiceImpl.java

@@ -144,112 +144,112 @@ public class BlockedMissCheckStatisticsServiceImpl implements IBlockedMissCheckS
144 144
             try {
145 145
                 if (ObjUtil.isNull(data.getReviewDate())) {
146 146
                     failureNum++;
147
-                    failureMsg.append("<br/>" + failureNum + "、回查日期不能为空");
147
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】回查日期不能为空");
148 148
                     continue;
149 149
                 }
150 150
                 if (ObjUtil.isNull(data.getMissCheckTime())) {
151 151
                     failureNum++;
152
-                    failureMsg.append("<br/>" + failureNum + "、漏检时间不能为空");
152
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】漏检时间不能为空");
153
+                    continue;
154
+                }
155
+                if (ObjUtil.isNull(data.getReviewedUserId()) || ObjUtil.isNull(data.getReviewedUserName())) {
156
+                    failureNum++;
157
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】被回查人不能为空");
153 158
                     continue;
154 159
                 }
155 160
                 if (ObjUtil.isNull(data.getBrigadeId()) || ObjUtil.isNull(data.getBrigadeName())) {
156 161
                     failureNum++;
157
-                    failureMsg.append("<br/>" + failureNum + "、大队不能为空");
162
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】大队不能为空");
158 163
                     continue;
159 164
                 }
160 165
                 if (ObjUtil.isNull(data.getTerminalId()) || ObjUtil.isNull(data.getTerminalName())) {
161 166
                     failureNum++;
162
-                    failureMsg.append("<br/>" + failureNum + "、航站楼不能为空");
167
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】航站楼不能为空");
163 168
                     continue;
164 169
                 }
165 170
                 if (ObjUtil.isNull(data.getAreaId()) || ObjUtil.isNull(data.getAreaName())) {
166 171
                     failureNum++;
167
-                    failureMsg.append("<br/>" + failureNum + "、区域不能为空");
172
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】区域不能为空");
168 173
                     continue;
169 174
                 }
170 175
                 if (ObjUtil.isNull(data.getChannelId()) || ObjUtil.isNull(data.getChannelName())) {
171 176
                     failureNum++;
172
-                    failureMsg.append("<br/>" + failureNum + "、上岗位置不能为空");
173
-                    continue;
174
-                }
175
-                if (ObjUtil.isNull(data.getReviewedUserId()) || ObjUtil.isNull(data.getReviewedUserName())) {
176
-                    failureNum++;
177
-                    failureMsg.append("<br/>" + failureNum + "、被回查人不能为空");
177
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】上岗位置不能为空");
178 178
                     continue;
179 179
                 }
180 180
                 if (ObjUtil.isNull(data.getReviewUserId()) || ObjUtil.isNull(data.getReviewUserName())) {
181 181
                     failureNum++;
182
-                    failureMsg.append("<br/>" + failureNum + "、回查人不能为空");
182
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】回查人不能为空");
183 183
                     continue;
184 184
                 }
185 185
                 if (ObjUtil.isNull(data.getSupervisorId()) || ObjUtil.isNull(data.getSupervisorName())) {
186 186
                     failureNum++;
187
-                    failureMsg.append("<br/>" + failureNum + "、分管主管不能为空");
187
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】分管主管不能为空");
188 188
                     continue;
189 189
                 }
190 190
                 if (ObjUtil.isNull(data.getTeamLeaderId()) || ObjUtil.isNull(data.getTeamLeaderName())) {
191 191
                     failureNum++;
192
-                    failureMsg.append("<br/>" + failureNum + "、分管班组长不能为空");
192
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】分管班组长不能为空");
193 193
                     continue;
194 194
                 }
195 195
                 if (ObjUtil.isNull(data.getMissCheckTimePeriod())) {
196 196
                     failureNum++;
197
-                    failureMsg.append("<br/>" + failureNum + "、漏检时间段不能为空");
197
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】漏检时间段不能为空");
198 198
                     continue;
199 199
                 }
200 200
                 if (ObjUtil.isNull(data.getMissCheckItem())) {
201 201
                     failureNum++;
202
-                    failureMsg.append("<br/>" + failureNum + "、漏检物品不能为空");
202
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】漏检物品不能为空");
203 203
                     continue;
204 204
                 }
205 205
                 if (ObjUtil.isNull(data.getItemLocation())) {
206 206
                     failureNum++;
207
-                    failureMsg.append("<br/>" + failureNum + "、物品位置不能为空");
207
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】物品位置不能为空");
208 208
                     continue;
209 209
                 }
210 210
                 if (ObjUtil.isNull(data.getDifficultyLevel())) {
211 211
                     failureNum++;
212
-                    failureMsg.append("<br/>" + failureNum + "、难度级别不能为空");
212
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】难度级别不能为空");
213 213
                     continue;
214 214
                 }
215 215
                 if (ObjUtil.isNull(data.getDiscriminationType())) {
216 216
                     failureNum++;
217
-                    failureMsg.append("<br/>" + failureNum + "、判别类型不能为空");
217
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】判别类型不能为空");
218 218
                     continue;
219 219
                 }
220 220
                 if (ObjUtil.isNull(data.getIsRecovered())) {
221 221
                     failureNum++;
222
-                    failureMsg.append("<br/>" + failureNum + "、是否追回不能为空");
222
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】是否追回不能为空");
223 223
                     continue;
224 224
                 }
225 225
                 if (ObjUtil.isNull(data.getMachineOperatingYears())) {
226 226
                     failureNum++;
227
-                    failureMsg.append("<br/>" + failureNum + "、开机年限不能为空");
227
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】开机年限不能为空");
228 228
                     continue;
229 229
                 }
230 230
                 if (ObjUtil.isNull(data.getCertificateLevel())) {
231 231
                     failureNum++;
232
-                    failureMsg.append("<br/>" + failureNum + "、证书级别不能为空");
232
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】证书级别不能为空");
233 233
                     continue;
234 234
                 }
235 235
                 if (ObjUtil.isNull(data.getGender())) {
236 236
                     failureNum++;
237
-                    failureMsg.append("<br/>" + failureNum + "、人员性别不能为空");
237
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】人员性别不能为空");
238 238
                     continue;
239 239
                 }
240 240
                 if (ObjUtil.isNull(data.getMissCheckReasonCategory())) {
241 241
                     failureNum++;
242
-                    failureMsg.append("<br/>" + failureNum + "、漏检原因分类不能为空");
242
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】漏检原因分类不能为空");
243 243
                     continue;
244 244
                 }
245 245
                 if (ObjUtil.isNull(data.getMonthlyAssessment())) {
246 246
                     failureNum++;
247
-                    failureMsg.append("<br/>" + failureNum + "、月考核不能为空");
247
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】月考核不能为空");
248 248
                     continue;
249 249
                 }
250 250
                 if (ObjUtil.isNull(data.getSelfTestHasMissCheck())) {
251 251
                     failureNum++;
252
-                    failureMsg.append("<br/>" + failureNum + "、本月自测有无漏检不能为空");
252
+                    failureMsg.append("<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】本月自测有无漏检不能为空");
253 253
                     continue;
254 254
                 }
255 255
 
@@ -278,7 +278,7 @@ public class BlockedMissCheckStatisticsServiceImpl implements IBlockedMissCheckS
278 278
                 }
279 279
             } catch (Exception e) {
280 280
                 failureNum++;
281
-                String msg = "<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】导入失败:";
281
+                String msg = "<br/>" + failureNum + "、被回查人【" + data.getReviewedUserName() + "】、回查日期【" + data.getReviewDate() + "】、漏检时间【" + data.getMissCheckTime() + "】导入失败:";
282 282
                 failureMsg.append(msg + e.getMessage());
283 283
             }
284 284
         }