udpate login.html

This commit is contained in:
backuppc
2025-07-10 14:36:05 +09:00
parent 43526a26ec
commit 26cb328f8f
31 changed files with 866 additions and 543 deletions

View File

@@ -16,36 +16,8 @@ namespace Project.Manager
cn.ConnectionString = cs;
return cn;
}
/// <summary>
/// 입력된 id의 그룹정보를 반환
/// </summary>
/// <param name="gcode"></param>
/// <param name="uid"></param>
/// <returns></returns>
public static GroupUserModel GetGroupUser(string gcode, string uid)
{
var retval = new GroupUserModel();
var cn = getCn();
var sql = "select * from EETGW_GroupUser where gcode = @gcode and uid = @uid";
var cmd = new System.Data.SqlClient.SqlCommand(sql,cn);
cmd.Parameters.Add("gcode", SqlDbType.VarChar).Value = gcode;
cmd.Parameters.Add("uid", SqlDbType.VarChar).Value = uid;
cn.Open();
var rdr = cmd.ExecuteReader();
var cnt = 0;
foreach(var dr in rdr)
{
cnt += 1;
}
retval.Gcode = gcode;
retval.uid = uid;
cn.Dispose();
return retval;
}
public static List<String> getGroupList(string GroupColumn, string table, string where = "")