🐞 fix(充值): 修复首充翻倍显示消失的问题

This commit is contained in:
luying
2022-10-26 18:45:22 +08:00
parent 5ece72f99b
commit ceec98c932

View File

@@ -108,7 +108,7 @@ export default class UserOrder extends BaseModel {
//查询订单详情
public static async findOrderByActivityID(activityId: number, roleId: string,) {
let result: UserOrderModelType[] = await UserOrderModel.find({ activityId, roleId }).lean(true);
let result: UserOrderModelType[] = await UserOrderModel.find({ activityId, roleId, state: ORDER_STATE.RESULT_SUCCESS }).lean(true);
return result;
}