コード例 #1
0
        /// <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));
        }
コード例 #2
0
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public bool Update(Maticsoft.Model.CustomLosts model)
 {
     return(dal.Update(model));
 }
コード例 #3
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public int Add(Maticsoft.Model.CustomLosts model)
 {
     return(dal.Add(model));
 }