ezhizao_zx 10 месяцев назад
Родитель
Сommit
6171844d54

+ 1 - 1
src/main/resources/mybatis/business/processCompletion/CompleteStatisticsMapper.xml

@@ -14,7 +14,7 @@
             deleted = 0
             <if test="year != null  and year != ''"> AND year = #{year}</if>
         </trim>
-        group by year,month
+        group by year,month desc
         order by year,month
     </select>