| | |
| | | employeeType := null( EmployeeType ); |
| | | employeeNumber := 0; |
| | | unit := null( Unit ); |
| | | startDate := Date::MinDate(); |
| | | timeUnit := ""; |
| | | baseSalary := 0.0; |
| | | traverse( row,GeneralExcelImportAndExportDataCell,cell ){ |
| | | if( cell.GeneralExcelImportAndExportDataColumn().Name() = "人员类别" ){ |
| | |
| | | unitIndexTree.Root().AddChild( unitHandle,units.Size() - 1 ); |
| | | } |
| | | } |
| | | } |
| | | if( cell.GeneralExcelImportAndExportDataColumn().Name() = "开始时间" ){ |
| | | startDate := cnv2.Convert( cell.Value() ); |
| | | } |
| | | if( cell.GeneralExcelImportAndExportDataColumn().Name() = "时间单位" ){ |
| | | timeUnit := cell.Value(); |
| | | } |
| | | if( cell.GeneralExcelImportAndExportDataColumn().Name() = "基本工资" ){ |
| | | baseSalary := [Real]cell.Value(); |