/// <summary> /// 添加购买记录 /// </summary> /// <param name="account">账号ID</param> /// <param name="cid">商品ID</param> /// <param name="cname">商品名称</param> /// <param name="unit">单价</param> /// <param name="count">数量</param> /// <param name="price">总价</param> /// <param name="date">购买时间</param> /// <returns>受影响的行数</returns> public bool addPointLog(int account, int cid, string cname, int unit, int count, int price, DateTime date) { return(dal.addPointLog(account, cid, cname, unit, count, price, date) > 0); }