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(); }
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(); }
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(); }