拍卖行:分红数据的生成和计算
This commit is contained in:
+2
-2
@@ -56,8 +56,8 @@ export default class Lot extends BaseModel {
|
||||
return result;
|
||||
}
|
||||
|
||||
public static async findGuildLotsByTime(guildCode: string, time: Date) {
|
||||
const results = await LotModel.find({ guildCode, createdAt: { $gte: time } }).select('-_id -__v').lean();
|
||||
public static async findGuildLotsByTime(guildCode: string, sourceType: number, time: Date) {
|
||||
const results = await LotModel.find({ guildCode, sourceType, createdAt: { $gte: time } }).select('-_id -__v').lean();
|
||||
return results;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user