Beispiel #1
0
    public byte[] AP_GetReportData_Checklist(byte[] loginTicket, string DocNoFrom, string DocNoTo, DateTime DateFrom, DateTime DateTo)
    {
        Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket);
        DataSet data    = new dalAP(loginer).GetReportData_Checklist(DocNoFrom, DocNoTo, DateFrom, DateTo);

        return(ZipTools.CompressionDataSet(data));
    }
Beispiel #2
0
    public byte[] AP_GetSummaryByParam(byte[] loginTicket, string DocNoFrom, string DocNoTo, DateTime docDateFrom, DateTime docDateTo)
    {
        Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket);

        DataTable data = new dalAP(loginer).GetSummaryByParam(DocNoFrom, DocNoTo, docDateFrom, docDateTo);

        return(ZipTools.CompressionDataSet(ServerLibrary.TableToDataSet(data)));
    }
Beispiel #3
0
    public byte[] AP_GetBusinessByKey(byte[] loginTicket, string keyValue)
    {
        Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket);

        DataSet data = new dalAP(loginer).GetBusinessByKey(keyValue);

        return(ZipTools.CompressionDataSet(data));
    }
Beispiel #4
0
    public byte[] AP_Update(byte[] loginTicket, byte[] saveData)
    {
        Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket);

        DataSet    ds     = ZipTools.DecompressionDataSet(saveData);
        SaveResult result = new dalAP(loginer).Update(ds);

        return(ZipTools.CompressionObject(result));
    }