日期正序

This commit is contained in:
wangliwen 2022-09-05 14:58:24 +08:00
parent 1aaeee1bfd
commit 66f6f73db3
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ public class WaterPointController {
" ORDER BY " + " ORDER BY " +
"`year` DESC," + "`year` DESC," +
"`month` DESC," + "`month` DESC," +
"`day` DESC;", water_point_id, year, month); "`day`;", water_point_id, year, month);
return Result.success(jdbcTemplate.queryForList(sql)); return Result.success(jdbcTemplate.queryForList(sql));
} }