|
@@ -545,6 +545,11 @@ public class ContactsServiceImpl extends ServiceImpl<ContactsMapper, Contacts> i
|
|
}
|
|
}
|
|
List<User> targetUserList= (List<User>) respMsg.data;
|
|
List<User> targetUserList= (List<User>) respMsg.data;
|
|
|
|
|
|
|
|
+ int lastTrueIndex = requiredList.lastIndexOf(Boolean.TRUE);
|
|
|
|
+ if(rowNum < lastTrueIndex+1){
|
|
|
|
+ msg.setError("存在未填必填项");
|
|
|
|
+ return msg;
|
|
|
|
+ }
|
|
for (int rowIndex = 1; rowIndex <= rowNum; rowIndex++) {
|
|
for (int rowIndex = 1; rowIndex <= rowNum; rowIndex++) {
|
|
XSSFRow row = sheet.getRow(rowIndex);
|
|
XSSFRow row = sheet.getRow(rowIndex);
|
|
if (row == null) {
|
|
if (row == null) {
|