format="select infoID,pushID,infoSubject,infoContent,pushtime from pushInfo where ownerID==%u and isTop==1 and infoType==0 and viewWeight!=0 order by pushTime desc"
values=(userID)
querySQL1=format % values
self.cu.execute(querySQL1)
result1=self.cu.fetchone()
print(querySQL1)
print(result1)
#print result
format="select infoID,pushID,infoSubject,infoContent,pushTime from pushInfo where ownerID=%u and isTop==0 and infoType==0 order by pushTime desc"