partition 分組order by 以哪個字段排序
select n.* ,row_number()over(partition by n.type order by n.createtime desc) from wfnoderecord n