..
This commit is contained in:
@@ -1018,7 +1018,21 @@ namespace FCOMMON
|
||||
cn.Dispose();
|
||||
return retval;
|
||||
}
|
||||
public static string GetUserName(string gcode, string uid)
|
||||
{
|
||||
var slq = "select isnull(name,'') from vGroupUser" +
|
||||
$" where gcode = '{gcode}'" +
|
||||
$" and id = '{uid}'";
|
||||
try
|
||||
{
|
||||
return ExecuteScalar(slq);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
}
|
||||
public static string GetUserTel(string gcode, string uid)
|
||||
{
|
||||
var slq = "select isnull(tel,'') from vGroupUser" +
|
||||
|
||||
Reference in New Issue
Block a user