public bool addCheckLog(bean.loginLogBean lb) { int rt = 0; string id = Result.GetNewId(); String sql = "insert into zkhw_log_syslog (id,userName,type,createtime,eventInfo) values ('" + id + "','" + lb.name + "','" + lb.type + "', '" + lb.createTime + "', '" + lb.eventInfo + "')"; rt = DbHelperMySQL.ExecuteSql(sql); return(rt == 0 ? false : true); }
public bool addCheckLog(bean.loginLogBean lb) { return(dao.addCheckLog(lb)); }