|
|
|
@ -223,11 +223,11 @@ public class IndexServiceImpl implements IndexService { |
|
|
|
}else{ |
|
|
|
// 计算本月的天数,系统日期从0 开始,需要加上1
|
|
|
|
int monthHasDays= DateUtils.getDaysOfMonth(new Date()); |
|
|
|
for(int i=1;i<=monthHasDays;i++){ |
|
|
|
for(int i=0;i<monthHasDays+1;i++){ |
|
|
|
labelList.add((i+1) + "日"); |
|
|
|
// 组装时间
|
|
|
|
String startdt = year +"-"+month+"-"+i+ " 00:00:00"; |
|
|
|
String enddt = year +"-"+month+"-"+i+ " 23:59:59"; |
|
|
|
String startdt = year +"-"+month+"-"+(i+1)+ " 00:00:00"; |
|
|
|
String enddt = year +"-"+month+"-"+(i+1)+ " 23:59:59"; |
|
|
|
BigDecimal[] rest = getDateMomeny(startdt, enddt); |
|
|
|
// 订单金额
|
|
|
|
ftlist.add(dealPrice(rest[0])); |
|
|
|
|