/// <summary> /// 会员担保账户操作日志 /// </summary> /// <param name="Member_ID">会员ID</param> /// <param name="Amount">金额</param> /// <param name="Log_note">备注</param> /// <returns></returns> public bool SaveZhongXinAccountLog(int Member_ID, double Amount, string Log_note) { double Account_Log_Remain = GetZhongXinAccountRemainByMemberID(Member_ID); ZhongXinAccountLogInfo accountLog = new ZhongXinAccountLogInfo(); accountLog.Account_Log_ID = 0; accountLog.Account_Log_MemberID = Member_ID; accountLog.Account_Log_Amount = Amount; accountLog.Account_Log_Remain = Account_Log_Remain + Amount; accountLog.Account_Log_Note = Log_note; accountLog.Account_Log_Addtime = DateTime.Now; accountLog.Account_Log_Site = "CN"; if (accountLog.Account_Log_Remain < 0) { return(false); } else { return(MyBLL.SaveZhongXinAccountLog(accountLog)); } }