拍卖行:推送
This commit is contained in:
@@ -93,6 +93,8 @@ export default class Dividend extends BaseModel {
|
||||
|
||||
public static async updateDividendsStatus(begin: Date, status: number) {
|
||||
await DividendModel.updateMany({ begin }, { status });
|
||||
const result: DividendType[] = await DividendModel.find({ begin }).select('-_id -__v').lean();
|
||||
return result
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user