1. 於 `StaffCardImportService` 中,將讀取自 Excel 的員工編號(employee_id)與卡片 UID(card_uid)使用 `trim()` 去除前後空白字元,防止因複製貼上夾帶空格導致後續比對與搜尋失效。 2. 同步將姓名(name)與備註(notes)也進行去空白處理,提升資料的一致性與品質。 |
||
|---|---|---|
| .. | ||
| Machine | ||
| Product | ||
| Transaction | ||
| StaffCardImportService.php | ||
1. 於 `StaffCardImportService` 中,將讀取自 Excel 的員工編號(employee_id)與卡片 UID(card_uid)使用 `trim()` 去除前後空白字元,防止因複製貼上夾帶空格導致後續比對與搜尋失效。 2. 同步將姓名(name)與備註(notes)也進行去空白處理,提升資料的一致性與品質。 |
||
|---|---|---|
| .. | ||
| Machine | ||
| Product | ||
| Transaction | ||
| StaffCardImportService.php | ||