fix:78137
This commit is contained in:
+3
-3
@@ -309,13 +309,13 @@ public class LawsWorkingGroupUserController extends JeroController<LawsWorkingGr
|
|||||||
LawsWorkingGroupUser lawsWorkingGroupUser = all.get(i);
|
LawsWorkingGroupUser lawsWorkingGroupUser = all.get(i);
|
||||||
String username = lawsWorkingGroupUser.getUsername();
|
String username = lawsWorkingGroupUser.getUsername();
|
||||||
if (username == null || username.trim().isEmpty()) {
|
if (username == null || username.trim().isEmpty()) {
|
||||||
return MessageUtils.getMessage(ResultCommon.THE_JOB_NUMBER_CANNOT_BE_EMPTY_EXPORT);
|
return MessageUtils.getMessage(ResultCommon.THE_JOB_NUMBER_CANNOT_BE_EMPTY_EXPORT,(i+1));
|
||||||
}
|
}
|
||||||
if (!isValidWorkNo(username)) {
|
if (!isValidWorkNo(username)) {
|
||||||
return MessageUtils.getMessage(ResultCommon.JOB_NUMBER_DOES_NOT_EXIST_EXPORT);
|
return MessageUtils.getMessage(ResultCommon.JOB_NUMBER_DOES_NOT_EXIST_EXPORT,(i+1));
|
||||||
}
|
}
|
||||||
if (!existingWorkNos.add(username)) {
|
if (!existingWorkNos.add(username)) {
|
||||||
return MessageUtils.getMessage(ResultCommon.DUPLICATE_JOB_NUMBER_EXPORT);
|
return MessageUtils.getMessage(ResultCommon.DUPLICATE_JOB_NUMBER_EXPORT,(i+1));
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}).filter(error -> error != null).collect(Collectors.toList());
|
}).filter(error -> error != null).collect(Collectors.toList());
|
||||||
|
|||||||
Reference in New Issue
Block a user