|
|
|
@ -183,11 +183,12 @@ public class IndexServiceImpl implements IndexService { |
|
|
|
|
|
|
|
// 重新初始化日历
|
|
|
|
Calendar ncal = Calendar.getInstance(); |
|
|
|
ncal.setTime(new Date());//设置当前时间
|
|
|
|
ncal.getTime(); |
|
|
|
// 日历中取到今年的年份
|
|
|
|
int year = ncal.get(Calendar.YEAR); |
|
|
|
// 日历中取到本月月份
|
|
|
|
int month= ncal.get(Calendar.MONTH); |
|
|
|
int month= ncal.get(Calendar.MONTH)+1; |
|
|
|
// 订单金额总数
|
|
|
|
List ftlist = new ArrayList(); |
|
|
|
//标的金额
|
|
|
|
@ -222,8 +223,8 @@ public class IndexServiceImpl implements IndexService { |
|
|
|
}else{ |
|
|
|
// 计算本月的天数,系统日期从0 开始,需要加上1
|
|
|
|
int monthHasDays= DateUtils.getDaysOfMonth(new Date()); |
|
|
|
for(int i=0;i<=monthHasDays;i++){ |
|
|
|
labelList.add((i+1) + "日"); |
|
|
|
for(int i=1;i<=monthHasDays;i++){ |
|
|
|
labelList.add(i + "日"); |
|
|
|
// 组装时间
|
|
|
|
String startdt = year +"-"+month+"-"+i+ " 00:00:00"; |
|
|
|
String enddt = year +"-"+month+"-"+i+ " 23:59:59"; |
|
|
|
|