Fix:尝试修复筛选最近10天数据的bug #12
|
|
@ -638,7 +638,7 @@ export class OrderService {
|
|||
totalQuery += ` AND o.date_created >= ?`;
|
||||
const tenDaysAgo = new Date();
|
||||
tenDaysAgo.setDate(tenDaysAgo.getDate() - 10);
|
||||
parameters.push(new Date(tenDaysAgo).toISOString().substring(0, 10));
|
||||
parameters.push(tenDaysAgo.toISOString());
|
||||
}
|
||||
|
||||
// 处理 status 参数
|
||||
|
|
|
|||
Loading…
Reference in New Issue