Exemplo n.º 1
0
        public void 連續造市4個月平行處理時間測試Test()
        {
            D500xx d500Xx = new D500xx();

            d500Xx.Sbrkno        = "       ";
            d500Xx.Ebrkno        = "ZZZZZZZ";
            d500Xx.ProdCategory  = "%";
            d500Xx.ProdKindIdSto = "%";
            d500Xx.Sdate         = "201808";
            d500Xx.Edate         = "201811";
            DataTable datasource = new D50032().List50032(d500Xx);
            DataTable ids1       = b50032.CompareDataByParallel(datasource, "4");
            DataTable dt         = b50032.FilterDataByParallel(datasource, ids1);

            Assert.AreEqual(7404, dt.Rows.Count);
        }