Commit 7c631793 authored by 罗超's avatar 罗超

测试推送

parent ee0d61b8
This diff is collapsed.
......@@ -654,7 +654,21 @@ WHERE e.RB_Group_id ={GroupId} AND e.IsLeave =0 AND o.Score =0 GROUP BY e.Employ
var result = ExecuteScalar(sql, null);
return !result.Equals(null) && Convert.IsDBNull(result) ? string.Empty : result.ToString();
return result!=null ? string.Empty : result.ToString();
}
/// <summary>
/// 获取指定DictKey的推送人员信息
/// </summary>
/// <param name="departmentIds"></param>
/// <returns></returns>
public string GetWorkUserIdByDictRepository(string dictKey)
{
string sql = $"select GROUP_CONCAT(WorkUserId SEPARATOR '|') from rb_account a where EXISTS(select DictKey from rb_dictvalue where DictKey='{dictKey}' and FIND_IN_SET(a.Id,Content)>0)";
var result = ExecuteScalar(sql, null);
return result != null ? string.Empty : result.ToString();
}
}
}
\ No newline at end of file
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