/// <summary> /// 更新一条数据 /// </summary> public bool Update(Tea.Model.basic model) { basic_update_basic = true; basic_picupdate_basic = true; return(dal.Update(model)); }
/// <summary> /// 增加一条数据 /// </summary> public int Add(Tea.Model.basic model) { basic_update_basic = true; basic_picupdate_basic = true; return(dal.Add(model)); }