This commit is contained in:
chi
2023-01-26 09:16:01 +09:00
parent 3775d2ba91
commit 3a1fd6401c
31 changed files with 1565 additions and 733 deletions

View File

@@ -38,7 +38,7 @@ namespace FCOMMON
int retval = 0;
string sql = string.Format("select isnull([{0}],0) from Auth where [user]= '{1}'",field,uid);
string sql = string.Format("select isnull([{0}],0) from Auth where gcode='{2}' and [user]= '{1}'",field,uid,FCOMMON.info.Login.gcode);
var cmd = new SqlCommand(sql, cn);
var rdr = cmd.ExecuteScalar();
if(rdr != null )