Пример #1
0
        public void ResetCalDupName()
        {
            int       iCount = 1;
            DataTable tblCompCheckDupName = _productAdapter.GetCompanyCheckDupName();

            foreach (DataRow rowComp in tblCompCheckDupName.Rows)
            {
                iCount++;
                long CompanyID = QT.Entities.Common.Obj2Int64(rowComp["ID"]);
                this.RefreshCacheDuplProductByCompany(CompanyID);
                log.Info(string.Format("IndexCompany:{0}/{1}", iCount, tblCompCheckDupName.Rows.Count));

                Thread.Sleep(100);
            }
        }