...
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user