在mysql中查询:
self.cursor.execute("select * from zyjinfo where datenow='%s'" % datetime) result = self.cursor.fetchall()
在sqlite中查询
self.cursor.execute("select * from zyjinfo where datenow='%s'" % datetime).fetchall()
注意:
self.cursor.execute("select * from zyjinfo where datenow='%s'" % datetime) result = self.cursor.fetchall()
self.cursor.execute("select * from zyjinfo where datenow='%s'" % datetime).fetchall()
注意: