Skip to content

Commit

Permalink
showOrderByShop added
Browse files Browse the repository at this point in the history
  • Loading branch information
SAYaghoubnejad committed Jan 24, 2020
1 parent acfbe12 commit d6ab8b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapFood.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def ShowStatus(self, invoic_id): #NOT CHECKED

def showOrderByShop(self, user_id, shop_id): #NOT CHECKED
self._mycursor.execute("""SELECT FOOD.* FROM
((FOOD JOIN JOIN `FOOD-INVOIC` ON FOODfoodid = foodid)
((FOOD JOIN `FOOD-INVOIC` ON FOODfoodid = foodid)
JOIN INVOIC ON INVOICEinvoiceid = invoiceid)
JOIN USER ON USER.WALLETwalletid = INVOIC.WALLETwalletid
WHERE USER.userid = %s AND FOOD.SHOPshopid = %s""", (str(user_id), str(shop_id),))
Expand Down

0 comments on commit d6ab8b6

Please sign in to comment.