How to calculate economic compensation for enterprises: Xiao Zhang signed a labor contract with Company A, a subsidiary of Company B, and worked for 5 years.

Two years in Ding Company.

Because the economic compensation is based on the labor contract, regardless of the relationship between companies, Xiao Zhang signed a new labor contract when he was transferred to Ding Company, which means that the previous labor contract has ended. Therefore, Xiao only asked Ding Company to give corresponding economic compensation for his two-year employment period.