Commit 305e5a49 authored by 董建华's avatar 董建华

计算报送两

parent e367ed2b
......@@ -68,7 +68,13 @@ public class ZhjReportAndSearchNum implements GetReportAndSearchNum {
entry.setMaxQueryNum(Long.valueOf(maxquerycount));
}
} else {
//上月co
//本月
Date month = DateUtil.getDate(date, DateUtil.YYYY_MM);
calendar.setTime(month);
calendar.add(Calendar.MONTH,-2);
//上上月
String preMonth = DateUtil.formatterDate(calendar.getTime(), DateUtil.YYYY_MM);
List<QueryStatisticsEntry> byReportMonth = queryStatisticsRepository
......
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