> For the complete documentation index, see [llms.txt](https://docs.coreway.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coreway.com/yoov-work/zh-hk/faq/employee-management/how-to-handle-if-employee-was-terminated-by-mistake.md).

# \[員工管理] 不小心錯誤地把員工離職,應如何處理?

如果管理員不小心錯誤地把員工離職或因公司需要有必要安排員工重新入職, 可參考以下的處理方式：

\[員工管理]-> \[員工列表]->\[已離職]->點選相關員工檔案->右上角"..."->重新入職

<figure><img src="/files/c1r20koF0gK9h3dkECTf" alt=""><figcaption></figcaption></figure>

員工的資料會保留於員工檔案,此時管理員需要決定是否修改員工編號以前往下一步。

<figure><img src="/files/Dy0N35JDhfkgt06A40nI" alt=""><figcaption></figcaption></figure>

不修改員工編號:

員工會保留原有的在職資料及重新入職。

<figure><img src="/files/ZiJoug70TWJZd2KFeiqN" alt=""><figcaption></figcaption></figure>

&#x20;修改員工編號:

員工會作為”新員工”重新入職，此員工不會存在任何在職數據。

以往的在職資料只會維持於原員工編號的記錄中。

<figure><img src="/files/EeYhwI07avhFcYO5ZhJL" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.coreway.com/yoov-work/zh-hk/faq/employee-management/how-to-handle-if-employee-was-terminated-by-mistake.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
