Commit d6b07d2c authored by zhuxiang's avatar zhuxiang
Browse files

优化

parent 4e8c7e8b
......@@ -53,6 +53,8 @@ public class ReportDataInfoServiceImpl extends ServiceImpl<ReportDataInfoDao, Re
if (currentMonth == 1) {
year = year - 1;
currentMonth = 12;
} else {
currentMonth = currentMonth - 1;
}
reportDataInfoDTO.setMonth(currentMonth);
reportDataInfoDTO.setYear(year);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment