处理导入五险一金的数据处理

This commit is contained in:
andy 2025-09-13 15:55:45 +08:00
parent 5f14fc2cf7
commit 93087177ab

View File

@ -434,7 +434,7 @@ public class SysStaffServiceImpl extends ServiceImpl<SysStaffMapper, SysStaff> i
SysStaff sysStaff = null;
SysStaffDetail staffDetail = null;
//存储缴纳公积金人员信息
for(int p=4;p< rowNumbers;p++){
for(int p=4;p<= rowNumbers;p++){
Row row = sheet.getRow(p);
if(StringUtils.isEmpty(row.getCell(1).getStringCellValue()) && (sheet.getRow(p+1)==null || StringUtils.isEmpty(sheet.getRow(p+1).getCell(1).getStringCellValue()))){
//当前行, 和当前的下一行都没有员工姓名,. 默认执行结束了