拍卖:拍品收藏
This commit is contained in:
+1
-1
@@ -75,7 +75,7 @@ export default class Lot extends BaseModel {
|
||||
}
|
||||
|
||||
public static async findGuildLotsByBegin(guildCode: string, begin: Date) {
|
||||
const results = await LotModel.find({ guildCode, begin, auctionStage: AUCTION_STAGE.GUILD }).sort({ sort: 1 }).select('-_id -__v').lean();
|
||||
const results = await LotModel.find({ guildCode, begin, auctionStage: { $in: [AUCTION_STAGE.DEFAULT, AUCTION_STAGE.GUILD] } }).sort({ sort: 1 }).select('-_id -__v').lean();
|
||||
return results;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user