Commit 80c8e433 authored by 姜登's avatar 姜登

add

parent 3cd6a9da
Pipeline #9926 passed with stage
in 2 seconds
......@@ -61,8 +61,10 @@ class UserController extends Controller {
}
});
if (user.department[0].name === '战略合作组' || user.department[0].name === '数据项目组') {
where.dd_id = user.department[0].id;
where.dd_name = user.name;
if (user.name !== '颜笑笑' && user.name !== '汤晓丹' && user.name !== '宇文瑞娟') {
where.dd_id = user.department[0].id;
where.dd_name = user.name;
}
}
const accountData = await service.user.fetchAccount(where, ctx.pagination);
const total = await service.user.count(where);
......
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