Commit 56d1e61d by zhangwei

增加db.py的中文注释

parent c86808b8
......@@ -43,8 +43,8 @@ if __name__ == '__main__':
count=0
dbname="summer_hill"
d=db.openMysql(host,port,user,password,dbname)
#sql='''select id,product_id,user_id,state,ctime,mtime from summer_hill.order where state='new';'''
sql='''select id,product_id,user_id,state,ctime,mtime from summer_hill.order where state='closed';'''
sql='''select id,product_id,user_id,state,ctime,mtime from summer_hill.order where state='new';'''
#sql='''select id,product_id,user_id,state,ctime,mtime from summer_hill.order where state='closed';'''
c=d.cursor()
c.execute(sql)
rs=c.fetchall()
......
# -*- coding:utf8 -*-
import os
import times
import sys
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment