|
@@ -93,7 +93,7 @@ class PatentearlyService extends CrudService {
|
|
i.user_id = i.user_id.map(i => ObjectId(i));
|
|
i.user_id = i.user_id.map(i => ObjectId(i));
|
|
const { lose_date } = i;
|
|
const { lose_date } = i;
|
|
const start = moment(lose_date).subtract(1, 'M');
|
|
const start = moment(lose_date).subtract(1, 'M');
|
|
- const end = moment(lose_date).add(1, 'M');
|
|
|
|
|
|
+ const end = moment(lose_date).add(3, 'M');
|
|
const r = moment().isBetween(start, end, null, '[]');
|
|
const r = moment().isBetween(start, end, null, '[]');
|
|
if (r) {
|
|
if (r) {
|
|
total++;
|
|
total++;
|