/// <summary> /// 根据ID删除一个批次信息 /// </summary> /// <param name="planId">批次ID</param> /// <returns>成功返回Result.删除成功,失败返回Result.删除失败</returns> public Result Delete(int planId) { int row = dao.Delete(planId); if (row > 0) { return(Result.除成功); } else { return(Result.除失败); } }
public void DeletePlan(int id) { PlanDao.Delete(id); }
public long Delete(int _Id) { return(planDao.Delete(_Id)); }