正在显示
1 个修改的文件
包含
21 行增加
和
0 行删除
| @@ -71,6 +71,26 @@ class ImportManager extends Command | @@ -71,6 +71,26 @@ class ImportManager extends Command | ||
| 71 | '硕士'=>3, | 71 | '硕士'=>3, |
| 72 | '其他' => 0, | 72 | '其他' => 0, |
| 73 | ]; | 73 | ]; |
| 74 | + $belong_group = [ | ||
| 75 | + '-' => 0, | ||
| 76 | + 'KA组' => 1, | ||
| 77 | + 'A组' => 2, | ||
| 78 | + 'B组' => 3, | ||
| 79 | + 'C组'=>4, | ||
| 80 | + 'D组'=>5, | ||
| 81 | + 'E组'=>6, | ||
| 82 | + 'F组'=>7, | ||
| 83 | + 'G组' => 8, | ||
| 84 | + 'H组'=>9, | ||
| 85 | + 'GA组' => 10, | ||
| 86 | + 'GB组' => 11, | ||
| 87 | + 'GC组' => 12, | ||
| 88 | + '前端组' => 13, | ||
| 89 | + '后端组' => 14, | ||
| 90 | + '黑格组' => 15, | ||
| 91 | + '售后组' => 16, | ||
| 92 | + '其他' => 0, | ||
| 93 | + ]; | ||
| 74 | //获取入职岗位 | 94 | //获取入职岗位 |
| 75 | $entryPositionModel = new EntryPosition(); | 95 | $entryPositionModel = new EntryPosition(); |
| 76 | $entry_position = $entryPositionModel->read(['name'=>$v['entry_position']]); | 96 | $entry_position = $entryPositionModel->read(['name'=>$v['entry_position']]); |
| @@ -96,6 +116,7 @@ class ImportManager extends Command | @@ -96,6 +116,7 @@ class ImportManager extends Command | ||
| 96 | 'address'=>$v['address'], | 116 | 'address'=>$v['address'], |
| 97 | 'sex'=>$v['sex'], | 117 | 'sex'=>$v['sex'], |
| 98 | 'nationality'=>$v['nationality'], | 118 | 'nationality'=>$v['nationality'], |
| 119 | + 'belong_group'=>$belong_group[$v['belong_group']], | ||
| 99 | 'education'=>isset($education[$v['education']]) ? $education[$v['education']] : 0, | 120 | 'education'=>isset($education[$v['education']]) ? $education[$v['education']] : 0, |
| 100 | 'major'=>$v['major'], | 121 | 'major'=>$v['major'], |
| 101 | 'graduate_school'=>$v['graduate_school'], | 122 | 'graduate_school'=>$v['graduate_school'], |
-
请 注册 或 登录 后发表评论