拍卖:拍品收藏

This commit is contained in:
luying
2022-09-21 10:46:55 +08:00
parent d66de07dc5
commit cbb0e4221c
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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;
}