Many people have encountered this situation, the company wants to dismiss employees, but also will find various ways not to compensate. If you have gone through the resignation formalities normally and the company has promised to pay you compensation normally, then the company will contact you at this time and ask you to go back to work. Don't believe it. This is a trick that many "black heart" HR will use. After going through the resignation formalities and returning to the original company, you are also a new employee. Within three months, the company can find any reason to dismiss you. If you go back like this, you may lose your job and get no compensation. So in this case, it is better to take the compensation and find another job with peace of mind.
If you don't go through the resignation formalities, if the company reneges on its promise because of compensation, you can't change it. If you insist on leaving, you will resign without compensation, so you have to continue working temporarily. However, since the company has tried to dismiss you, it is obvious that your leader is not optimistic about you, and you may encounter job changes and salary declines in the future, so make plans for yourself as soon as possible.
Some human resources are really unscrupulous. They help companies exploit these migrant workers. Therefore, they should know more about relevant laws and regulations at ordinary times, so as not to suffer losses when they are dismissed, and they should also strive to get the compensation they deserve. If you have no experience in this field, find more friends around you who are doing HR to learn.