Legal analysis of the allocation of resources in market Intergenerational equitable allocation of water resources in watershed The analysis of the development of China's stockmarket