//添加 public int Add(Huiyi h) { try { string sql = $" insert into Huiyi(HuiyiNei,StartTime,AId,CId,BeiZhu,HuiyiName,Shipin) values('{h.HuiyiNei}','{h.StartTime}',{h.AId},{h.CId},'{h.BeiZhu}','{h.HuiyiName}',{h.Shipin})"; return(DbHelper.Execute(sql)); } catch (Exception) { throw; } }
public int Add(Huiyi h) { return(dal.Add(h)); }
public JsonResult Adds(Huiyi h) { return(Json(bll.Add(h))); }