mysql分组,然后组内排序取最新的一条 参照: https://blog.csdn.net/qq_16504067/article/details/78589232 https://www.cnblogs.com/w1441639547/p/11199154.html