1. 修改 StaffCardImportService,將 updateOrCreate 的比對欄位從 card_uid 改為 employee_id。 2. 這樣當員工補發新卡時,透過 Excel 匯入相同的員工編號即可直接更新其卡號。 |
||
|---|---|---|
| .. | ||
| Machine | ||
| Product | ||
| Transaction | ||
| StaffCardImportService.php | ||
1. 修改 StaffCardImportService,將 updateOrCreate 的比對欄位從 card_uid 改為 employee_id。 2. 這樣當員工補發新卡時,透過 Excel 匯入相同的員工編號即可直接更新其卡號。 |
||
|---|---|---|
| .. | ||
| Machine | ||
| Product | ||
| Transaction | ||
| StaffCardImportService.php | ||