コード例 #1
0
ファイル: AP_Bridge.cs プロジェクト: iot369/CSFramework
 public bool CheckNoExists(string keyValue)
 {
     using (AccountModuleServiceClient client = SoapClientFactory.CreateAccountModuleServiceClient())
     {
         byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser);
         return(client.AP_CheckNoExists(loginTicket, keyValue));
     }
 }
コード例 #2
0
ファイル: AP_Bridge.cs プロジェクト: iot369/CSFramework
 public void ApprovalBusiness(string keyValue, string flagApp, string appUser, DateTime appDate)
 {
     using (AccountModuleServiceClient client = SoapClientFactory.CreateAccountModuleServiceClient())
     {
         byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser);
         client.AP_ApprovalBusiness(loginTicket, keyValue, flagApp, appUser, appDate);
     }
 }
コード例 #3
0
ファイル: AP_Bridge.cs プロジェクト: iot369/CSFramework
 public System.Data.DataTable GetSummaryByParam(string docNoFrom, string docNoTo, DateTime docDateFrom, DateTime docDateTo)
 {
     using (AccountModuleServiceClient client = SoapClientFactory.CreateAccountModuleServiceClient())
     {
         byte[] loginTicket  = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser);
         byte[] receivedData = client.AP_GetSummaryByParam(loginTicket, docNoFrom, docNoTo, docDateFrom, docDateTo);
         return(ZipTools.DecompressionDataSet(receivedData).Tables[0]);
     }
 }
コード例 #4
0
ファイル: AP_Bridge.cs プロジェクト: iot369/CSFramework
 public System.Data.DataSet GetBusinessByKey(string keyValue)
 {
     using (AccountModuleServiceClient client = SoapClientFactory.CreateAccountModuleServiceClient())
     {
         byte[] loginTicket  = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser);
         byte[] receivedData = client.AP_GetBusinessByKey(loginTicket, keyValue);
         return(ZipTools.DecompressionDataSet(receivedData));
     }
 }
コード例 #5
0
ファイル: AP_Bridge.cs プロジェクト: iot369/CSFramework
 public DataSet GetReportData_Checklist(string DocNoFrom, string DocNoTo, DateTime DateFrom, DateTime DateTo)
 {
     using (AccountModuleServiceClient client = SoapClientFactory.CreateAccountModuleServiceClient())
     {
         byte[] loginTicket  = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser);
         byte[] receivedData = client.AP_GetReportData(loginTicket, DocNoFrom, DocNoTo, DateFrom, DateTo);
         return(ZipTools.DecompressionDataSet(receivedData));
     }
 }
コード例 #6
0
ファイル: AP_Bridge.cs プロジェクト: iot369/CSFramework
 public SaveResult Update(DataSet saveData)
 {
     using (AccountModuleServiceClient client = SoapClientFactory.CreateAccountModuleServiceClient())
     {
         byte[] loginTicket  = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser);
         byte[] bs           = ZipTools.CompressionDataSet(saveData);
         byte[] receivedData = client.AP_Update(loginTicket, bs);
         return(ZipTools.DecompressionObject(receivedData) as SaveResult);
     }
 }