lag() over() 在主键partition范围内,按照order by 计算上一条或是下一条的值,赋值到本条信息 sum () over() 在主键parition范围内,按照order by 进行累加计算