Commit f1cc1eaa by 黄静

hj

parent 64b67aa2
......@@ -15,4 +15,4 @@ class rec_status_Dao:
else:
self.dataBase = db
def select_sql_1(self,recommend_id,status_name):
return self.dataBase.update('REPLACE INTO tj_recommend_do_status(recommend_id,status_name) VALUES ("%s","%s")' % (recommend_id,status_name),None)
\ No newline at end of file
return self.dataBase.update('update tj_recommend_do_status set status_name = "%s" where recommend_id = "%s"' % (status_name,recommend_id),None)
\ No newline at end of file
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