예제 #1
0
    public static string GetFactByUser(string user_id)
    {
        PccMsg myMsg = new PccMsg();
        myMsg.CreateFirstNode("UserID", user_id);

        bs_UserInfo bs = new bs_UserInfo(ConfigurationSettings.AppSettings["AppConnectionType"], ConfigurationSettings.AppSettings["AppConnectionServer"], ConfigurationSettings.AppSettings["AppConnectionDB"], ConfigurationSettings.AppSettings["AppConnectionUser"], ConfigurationSettings.AppSettings["AppConnectionPwd"]);
        return bs.DoReturnStr("GETFACTNOBYUSERID", myMsg.GetXmlStr, "").Trim();
    }
예제 #2
0
    public static string GetFactNoByUserID(string UserID)
    {
        bs_UserInfo mybs = new bs_UserInfo(ConfigurationSettings.AppSettings["AppConnectionType"], ConfigurationSettings.AppSettings["AppConnectionServer"], ConfigurationSettings.AppSettings["AppConnectionDB"], ConfigurationSettings.AppSettings["AppConnectionUser"], ConfigurationSettings.AppSettings["AppConnectionPwd"]);

        PccMsg myMsg = new PccMsg();
        myMsg.CreateFirstNode("UserID", UserID);

        string sReturn = mybs.DoReturnStr("GetFactNoByUserID", myMsg.GetXmlStr, "");
        return sReturn.Trim();
    }
예제 #3
0
 public static string _Get_DeptByfact(string fact_no)
 {
     bs_UserInfo mybs = new bs_UserInfo(ConfigurationSettings.AppSettings["AppConnectionType"], ConfigurationSettings.AppSettings["AppConnectionServer"], ConfigurationSettings.AppSettings["AppConnectionDB"], ConfigurationSettings.AppSettings["AppConnectionUser"], ConfigurationSettings.AppSettings["AppConnectionPwd"]);
     PccMsg myMsg = new PccMsg();
     myMsg.CreateFirstNode("fact_no", fact_no);
     string sReturn = mybs.DoReturnStr("GETDEPTBYFACTSTR", myMsg.GetXmlStr, "");
     return sReturn.Trim();
 }