使用unix_timestamp方法进行比较,将字符型的时间,转成unix时间戳
string downloadSql = string.Format("select * from t_patient where unix_timestamp(TimeStamp) > unix_timestamp('{0}')", dateTime);
使用unix_timestamp方法进行比较,将字符型的时间,转成unix时间戳
string downloadSql = string.Format("select * from t_patient where unix_timestamp(TimeStamp) > unix_timestamp('{0}')", dateTime);