This commit is contained in:
chikyun.kim
2018-12-08 15:12:15 +09:00
parent 3f68c3c5e8
commit 43841e6c52
43 changed files with 6312 additions and 1015 deletions

View File

@@ -9,15 +9,22 @@ namespace FCOMMON
public static partial class DBM
{
public static int getAuth_Purchase(string uid)
public enum eAutoType
{
return getAuth("purchase", uid);
purchase,
holyday
}
public static int getAuth_Purchase()
public static int getAuth(eAutoType type, string uid)
{
return getAuth("purchase", info.Login.no);
return getAuth(type.ToString(), uid);
}
public static int getAuth(string field,string uid)
public static int getAuth(eAutoType type)
{
return getAuth(type.ToString(), info.Login.no);
}
private static int getAuth(string field,string uid)
{
var cn = getCn();
cn.Open();