fyz 9 月之前
父节点
当前提交
30dbc42d9d
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      mjava-lanyun/src/main/java/com/malk/lanyun/service/impl/TimerServiceImpl.java

+ 2 - 1
mjava-lanyun/src/main/java/com/malk/lanyun/service/impl/TimerServiceImpl.java

@@ -348,7 +348,8 @@ public class TimerServiceImpl implements TimerService {
                     "FROM " +
                     " lanyun_project_analysis  " +
                     "GROUP BY " +
-                    " `month`";
+                    " `month`" +
+                    " order by `month` DESC";
             sql[1]= "SELECT " +
                     " '合计' as `month` , " +
                     " sum( predict_income ) predict_income," +