|
|
@@ -204,8 +204,7 @@ public class PurchaseInquiryItemSimpleInfo {
|
|
|
if (this.getInquiry().getEndDate() == null) {
|
|
|
return 0;
|
|
|
}
|
|
|
- Date before = new Date();
|
|
|
- Date date = new Date(before.getTime() - 24 * 60 * 60 * 1000);
|
|
|
+ Date date = new Date();
|
|
|
Calendar now = Calendar.getInstance();
|
|
|
now.set(Calendar.YEAR, date.getYear());
|
|
|
now.set(Calendar.MONTH, date.getMonth());
|
|
|
@@ -231,7 +230,7 @@ public class PurchaseInquiryItemSimpleInfo {
|
|
|
return 0;
|
|
|
}
|
|
|
Date before = new Date();
|
|
|
- Date date = new Date(before.getTime() - 24 * 60 * 60 * 1000);
|
|
|
+ Date date = new Date(before.getTime());
|
|
|
Calendar now = Calendar.getInstance();
|
|
|
now.set(Calendar.YEAR, date.getYear());
|
|
|
now.set(Calendar.MONTH, date.getMonth());
|