/// <summary> /// 更新一条数据 /// </summary> public bool ClostAdd(Maticsoft.Model.CustomLosts model) { Maticsoft.Model.CustomLosts list = new BLL.CustomLosts().GetModel(model.CLID); model.CLEnterDate = DateTime.Now; model.CLState = 3; return(dal.UpdateOne(model)); }
/// <summary> /// 更新一条数据 /// </summary> public bool Update(Maticsoft.Model.CustomLosts model) { return(dal.Update(model)); }
/// <summary> /// 增加一条数据 /// </summary> public int Add(Maticsoft.Model.CustomLosts model) { return(dal.Add(model)); }