@@ -95,6 +95,15 @@ public class HpPayrollService extends CrudService<HpPayrollMapper, HpPayroll> {
list.add(errorMessage);
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) {
failureNum++;
errorIndex=i+1;