Commit c2bf5daa authored by 任国军's avatar 任国军

fix

parent e4f713fa
Pipeline #24477 passed with stage
in 4 seconds
...@@ -426,7 +426,8 @@ class UserService extends Service { ...@@ -426,7 +426,8 @@ class UserService extends Service {
const { ctx } = this; const { ctx } = this;
const userUuid = ctx.userUuid; const userUuid = ctx.userUuid;
const orderList = await ctx.classModel.V5.findAll({ where: { user_uuid: userUuid, status: 1, is_deleted: 0 } }); const orderList = await ctx.classModel.V5.CourseUserOrder.findAll({ where: { user_uuid: userUuid, status: 1, is_deleted: 0 } });
const classList = await ctx.classModel.V5.CourseV5Class.findAll({ where: { id: { $in: R.pluck('class_id', orderList) } } });
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment