2. According to the Labor Contract Law
Article 37 A laborer may terminate the labor contract by giving a written notice to the employing unit 30 days in advance. The employee may terminate the labor contract by notifying the employer three days in advance during the probation period.
Article 46 Under any of the following circumstances, the employing unit shall pay economic compensation to the workers:
(1) The laborer terminates the labor contract in accordance with the provisions of Article 38 of this Law;
(2) The employing unit proposes to terminate the labor contract with the laborer in accordance with the provisions of Article 36 of this Law, and the labor contract is terminated through consultation with the laborer;
(3) The employer terminates the labor contract in accordance with the provisions of Article 40 of this Law;
(4) The employer terminates the labor contract in accordance with the provisions of the first paragraph of Article 41 of this Law;
(5) Terminating a fixed-term labor contract in accordance with the provisions of the first paragraph of Article 44 of this Law, except that the employer maintains or improves the conditions stipulated in the labor contract to renew the labor contract and the employee does not agree to renew it;
(6) The labor contract is terminated in accordance with the provisions of Item 4 and Item 5 of Article 44 of this Law;
(seven) other circumstances stipulated by laws and administrative regulations.
Forty-seventh economic compensation shall be paid according to the standard of one month's salary for each full year of work in the unit. For more than six months but less than one year, it shall be counted as one year; If it is less than six months, economic compensation of half a month's salary shall be paid to the workers.
If the monthly salary of workers is three times higher than the average monthly salary of local workers announced by the people's government of the municipality directly under the central government or the city divided into districts where the employer is located, the standard for paying economic compensation to workers is three times the average monthly salary of workers, and the longest period for paying economic compensation to workers shall not exceed 12 years.
The monthly salary mentioned in this article refers to the average salary of workers in the twelve months before the dissolution or termination of the labor contract.