This commit is contained in:
chi
2023-06-12 00:04:03 +09:00
parent 800492b1a1
commit 4b8291d787
7 changed files with 256 additions and 16 deletions

View File

@@ -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" +