public bool update(Model.borrowrecord borrowrecordmodel) { string tablename = typeof(borrowrecord).Name; string contion = string.Format("guid='{0}'", borrowrecordmodel.guid); string strsql = string.Format("WrenchID_id='{0}',returnDate='{1}',returnOperator='{2}',returnUser='******',is_return='{4}',comment='{5}'", borrowrecordmodel.WrenchID, borrowrecordmodel.returnDate = DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"), borrowrecordmodel.returnOperator, borrowrecordmodel.returnUser, borrowrecordmodel.is_return ?1:0, borrowrecordmodel.comment); return(ServerHelp.updateByWhere(tablename, _webip, contion, strsql)); }
public bool update(Model.borrowrecord borrowrecordmodel) { throw new NotImplementedException(); }