@@ -613,5 +614,33 @@ FROM rb_employee e LEFT JOIN rb_okr_objective o on e.EmployeeId = o.CreateBy AND
WHERE e.RB_Group_id ={GroupId} AND e.IsLeave =0 AND o.Score =0 GROUP BY e.EmployeeId";
returnGet<RB_Employee_Extend>(sql).ToList();
}
/// <summary>
/// 获取指定教师的企业微信ID
/// </summary>
/// <param name="tid">教师编号</param>
/// <returns></returns>
publicstringGetWorkUserIdByTidRepository(inttid)
{
stringsql=$"select {nameof(RB_Account_ViewModel.WorkUserId)} from {nameof(RB_Account)} where {nameof(RB_Account_ViewModel.AccountType)}=2 and {nameof(RB_Account_ViewModel.AccountId)}={tid}";