|
@@ -360,6 +360,7 @@ public class EquipmentSendNotifyServiceImpl implements EquipmentSendNotifyServic
|
|
Calendar calendar = Calendar.getInstance();
|
|
Calendar calendar = Calendar.getInstance();
|
|
Date date = new Date();
|
|
Date date = new Date();
|
|
calendar.setTime(date);
|
|
calendar.setTime(date);
|
|
|
|
+ calendar.set(Calendar.DAY_OF_MONTH,1);
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
|
|
String newDate = simpleDateFormat.format(date);
|
|
String newDate = simpleDateFormat.format(date);
|
|
calendar.set(Calendar.MONTH, -12);
|
|
calendar.set(Calendar.MONTH, -12);
|