public byte[] GetBackupHistory(byte[] loginTicket, int topList) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataTable data = new dalCommon(null).GetBackupHistory(topList); return(ZipTools.CompressionDataSet(ServerLibrary.TableToDataSet(data))); }
public byte[] G_GetFormTagCustomName(byte[] loginTicket) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataTable dt = new dalUserGroup(loginer).GetFormTagCustomName(); return(ZipTools.CompressionDataSet(ServerLibrary.TableToDataSet(dt))); }
public byte[] SearchOutstanding(byte[] loginTicket, string invoiceNo, string customer, DateTime dateFrom, DateTime dateTo, DateTime dateEnd, string outstandingType) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataTable data = new dalCommon(loginer).SearchOutstanding(invoiceNo, customer, dateFrom, dateTo, dateEnd, outstandingType); return(ZipTools.CompressionDataSet(ServerLibrary.TableToDataSet(data))); }
public byte[] GetLogFieldDef(byte[] loginTicket, string tableName) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataTable data = new dalEditLogHistory(loginer).GetLogFieldDef(tableName); return(ZipTools.CompressionDataSet(ServerLibrary.TableToDataSet(data))); }
public byte[] IC_GetSummaryByParam(byte[] loginTicket, string DocNoFrom, string DocNoTo, DateTime docDateFrom, DateTime docDateTo) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataTable data = new dalIC(loginer).GetSummaryByParam(DocNoFrom, DocNoTo, docDateFrom, docDateTo); return(ZipTools.CompressionDataSet(ServerLibrary.TableToDataSet(data))); }
public byte[] GetCustomerByAttributeCodes(byte[] loginTicket, string attributeCodes, bool nameWithCode) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataTable data = new dalCustomer(loginer).GetCustomerByAttributeCodes(attributeCodes, nameWithCode); return(ZipTools.CompressionObject(ServerLibrary.TableToDataSet(data))); }
//模糊查询 public byte[] FuzzySearchCustomerByAttributes(byte[] loginTicket, string attributeCodes, string content) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataTable data = new dalCustomer(loginer).FuzzySearch(attributeCodes, content); return(ZipTools.CompressionObject(ServerLibrary.TableToDataSet(data))); }
public byte[] SearchCommonType(byte[] loginTicket, int dataType) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataTable data = new dalCommonDataDict(loginer).SearchBy(dataType); return(ZipTools.CompressionDataSet(ServerLibrary.TableToDataSet(data))); }
public byte[] FuzzySearchCustomer(byte[] loginTicket, string customerFrom, string customerTo, string customerName, string customerAttribute) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataTable data = new dalCustomer(loginer).SearchBy(customerFrom, customerTo, customerName, customerAttribute); return(ZipTools.CompressionObject(ServerLibrary.TableToDataSet(data))); }
public byte[] U_GetUserByNovellID(byte[] loginTicket, string novellAccount) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataTable data = new dalUser(loginer).GetUserByNovellID(novellAccount); return(ZipTools.CompressionObject(ServerLibrary.TableToDataSet(data))); }
public byte[] FuzzySearchProduct(byte[] loginTicket, string content) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataTable data = new dalProduct(loginer).FuzzySearch(content); return(ZipTools.CompressionObject(ServerLibrary.TableToDataSet(data))); }
public byte[] U_GetUserAuthorities(byte[] loginTicket) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataTable data = new dalUser(loginer).GetUserAuthorities(loginer); return(ZipTools.CompressionDataSet(ServerLibrary.TableToDataSet(data))); }
public byte[] GetAttachedFiles(byte[] loginTicket, string docID) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataTable data = new dalAttachFile(loginer).GetData(docID); return(ZipTools.CompressionDataSet(ServerLibrary.TableToDataSet(data))); }
public byte[] GetTableFieldsDef(byte[] loginTicket, string tableName, bool onlyDisplayField) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataTable data = new dalCommon(loginer).GetTableFieldsDef(tableName, onlyDisplayField); return(ZipTools.CompressionDataSet(ServerLibrary.TableToDataSet(data))); }
public byte[] GetModules(byte[] loginTicket) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataTable data = new dalCommon(loginer).GetModules(); return(ZipTools.CompressionDataSet(ServerLibrary.TableToDataSet(data))); }
public byte[] GetSummaryData(byte[] loginTicket, string ORM_TypeName) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); dalBaseDataDict dict = dalBaseDataDict.CreateDalByORM(loginer, ORM_TypeName); DataTable data = dict.GetSummaryData(); return(ZipTools.CompressionObject(ServerLibrary.TableToDataSet(data))); }
public byte[] U_GetUserDirect(byte[] validationTicket, string account, string DBName) { bool pass = WebServiceSecurity.ValidateLoginIdentity(validationTicket); //检查校验码成功,有效的登录请求. if (pass) { DataTable dt = new dalUser(null).GetUserDirect(account, DBName); return(ZipTools.CompressionDataSet(ServerLibrary.TableToDataSet(dt))); } else { return(null); } }
public byte[] GetSystemDataSet(byte[] validationTicket) { bool pass = WebServiceSecurity.ValidateLoginIdentity(validationTicket); //检查校验码成功,有效的登录请求. if (pass) { DataTable data = new dalCommon(null).GetSystemDataSet(); return(ZipTools.CompressionDataSet(ServerLibrary.TableToDataSet(data))); } else { return(null); } }
public byte[] GetDataDictByTableName(byte[] loginTicket, string tableName) { try { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); dalBaseDataDict dict = new dalBaseDataDict(loginer, tableName); DataTable data = dict.GetSummaryData(); return(ZipTools.CompressionObject(ServerLibrary.TableToDataSet(data))); } catch (Exception ex) { throw new FaultException(ex.Message);; } }
public byte[] U_Login(byte[] validationTicket, byte[] loginUser, char LoginUserType) { bool pass = WebServiceSecurity.ValidateLoginIdentity(validationTicket); //检查校验码成功,有效的登录请求. if (pass) { LoginUser userInfo = ZipTools.DecompressionObject(loginUser) as LoginUser; DataTable dt = new dalUser(null).Login(userInfo, LoginUserType); return(ZipTools.CompressionDataSet(ServerLibrary.TableToDataSet(dt))); } else { return(null); } }