public static void DeleteFlashPhoto(string strID, int flashID) { UploadBLL.DeleteUploadByRecordID(TableID, strID); FlashBLL.ChangeFlashCountByGeneral(strID, ChangeAction.Minus); dal.DeleteFlashPhoto(strID); FlashBLL.RebuildFile(flashID); }
public static void DeleteArticle(string strID) { UploadBLL.DeleteUploadByRecordID(TableID, strID); dal.DeleteArticle(strID); CacheHelper.Remove(cacheKey); FirstArticleDc = null; }
public static void DeleteProduct(string strID) { UploadBLL.DeleteUploadByRecordID(TableID, strID); //ProductBrandBLL.ChangeProductBrandCountByGeneral(strID, ChangeAction.Minus); //ProductPhotoBLL.DeleteProductPhotoByProductID(strID); //更新与此产品有关联的产品 UpdateRelationProductByProductId(strID); //更新与此新产品有关的岗位计划 PostBLL.UpdatePostPlan(strID); //删除产品 dal.DeleteProduct(strID); }
public static void DeleteLink(string strID) { UploadBLL.DeleteUploadByRecordID(TableID, strID); dal.DeleteLink(strID); CacheHelper.Remove(cacheKey); }
public static void DeleteAd(string strID) { UploadBLL.DeleteUploadByRecordID(TableID, strID); AdRecordBLL.DeleteAdRecordByAdID(strID); dal.DeleteAd(strID); }
public static void DeleteFavorableActivity(string strID) { UploadBLL.DeleteUploadByRecordID(TableID, strID); dal.DeleteFavorableActivity(strID); }
public static void DeleteGiftPack(string strID) { UploadBLL.DeleteUploadByRecordID(TableID, strID); dal.DeleteGiftPack(strID); }
public static void DeleteProductPhoto(string strID) { UploadBLL.DeleteUploadByRecordID(TableID, strID); ProductBLL.ChangeProductPhotoCountByGeneral(strID, ChangeAction.Minus); dal.DeleteProductPhoto(strID); }