public DataTable GetSrhzSumData(string where) { DataTable result = new DataTable(); ISrmxbService service = this.CreateSubClient(); ICommunicationObject comm = service as ICommunicationObject; comm.Using(client => { result = service.GetSrhzSumData(where); }); return(result); }
public DataTable GetSrmxbData(int intPageSize, int intPageCount, int mSizeBackup, string where) { DataTable result = new DataTable(); ISrmxbService service = this.CreateSubClient(); ICommunicationObject comm = service as ICommunicationObject; comm.Using(client => { result = service.GetSrmxbData(intPageSize, intPageCount, mSizeBackup, where); }); return(result); }
public bool SaveExcelData(List <SrmxbInfo> list) { bool result = false; ISrmxbService service = CreateSubClient(); ICommunicationObject comm = service as ICommunicationObject; comm.Using(client => { result = service.SaveExcelData(list); }); return(result); }