|
@@ -95,6 +95,15 @@ public class HpPayrollService extends CrudService<HpPayrollMapper, HpPayroll> {
|
|
|
list.add(errorMessage);
|
|
list.add(errorMessage);
|
|
|
return list;
|
|
return list;
|
|
|
}
|
|
}
|
|
|
|
|
+ if (!StringUtils.isBlank(result[i][3].trim()) && result[i][3].trim().length()>20) {
|
|
|
|
|
+ failureNum++;
|
|
|
|
|
+ errorIndex=i+1;
|
|
|
|
|
+ errorMessage="公司名称不得超过20字";
|
|
|
|
|
+ list.add(failureNum);
|
|
|
|
|
+ list.add(errorIndex);
|
|
|
|
|
+ list.add(errorMessage);
|
|
|
|
|
+ return list;
|
|
|
|
|
+ }
|
|
|
if (!StringUtils.isBlank(result[i][4].trim()) && result[i][4].trim().length()>20) {
|
|
if (!StringUtils.isBlank(result[i][4].trim()) && result[i][4].trim().length()>20) {
|
|
|
failureNum++;
|
|
failureNum++;
|
|
|
errorIndex=i+1;
|
|
errorIndex=i+1;
|