|
|
|
@ -57,6 +57,7 @@ public class IndexServiceImpl implements IndexService { |
|
|
|
|
|
|
|
// 日历获取到昨天
|
|
|
|
Calendar calendar = Calendar.getInstance(); |
|
|
|
calendar.setTime(new Date()); |
|
|
|
calendar.add(Calendar.DATE, -1); |
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); |
|
|
|
String yesterday = sdf.format(calendar.getTime()); |
|
|
|
|