示例#1
0
 private void SaveDelete()
 {
     if (_productIdWaitDeleteGroup.Count > 0)
     {
         RabbitMQAdapter.Instance.PushProductToQueueChangeMainInfo(_productIdWaitDeleteGroup);
         _productAdapter.DeleteBathProduct(_productIdWaitDeleteGroup);
         _redisProductLastUpdate.RemoveBathProduct(_companyId, _productIdWaitDeleteGroup);
         _redisProductHash.RemoveBathProduct(_companyId, _productIdWaitDeleteGroup);
         _cacheCheckDelete.RemoveBathScore(_companyId, _productIdWaitDeleteGroup);
         _log.Info(string.Format("Deleted {0} product", _productIdWaitDeleteGroup.Count));
         _productIdWaitDeleteGroup.Clear();
     }
 }