| Line 2712... |
Line 2712... |
| 2712 |
|
2712 |
|
| 2713 |
def get_marketplace_history(source,offset,itemId):
|
2713 |
def get_marketplace_history(source,offset,itemId):
|
| 2714 |
return session.query(MarketPlaceHistory).filter(MarketPlaceHistory.item_id==itemId).filter(MarketPlaceHistory.source==source).filter(or_(MarketPlaceHistory.toGroup==True,MarketPlaceHistory.toGroup==None)).order_by(desc(MarketPlaceHistory.timestamp)).limit(11).offset(offset).all()
|
2714 |
return session.query(MarketPlaceHistory).filter(MarketPlaceHistory.item_id==itemId).filter(MarketPlaceHistory.source==source).filter(or_(MarketPlaceHistory.toGroup==True,MarketPlaceHistory.toGroup==None)).order_by(desc(MarketPlaceHistory.timestamp)).limit(11).offset(offset).all()
|
| 2715 |
|
2715 |
|
| 2716 |
def get_all_fbb_listed_items():
|
2716 |
def get_all_fbb_listed_items():
|
| 2717 |
return Amazonlisted.query.filter(Amazonlisted.isFbb==False).filter(Amazonlisted.fbbListedOn==None).all()
|
2717 |
return Amazonlisted.query.filter(Amazonlisted.isFbb==False).filter(Amazonlisted.fbbListedOn==None).filter(Amazonlisted.fbbtaxCode!=None).all()
|
| 2718 |
|
2718 |
|
| 2719 |
def get_all_fbb_pricing_items():
|
2719 |
def get_all_fbb_pricing_items():
|
| 2720 |
return Amazonlisted.query.filter(Amazonlisted.isFbb==True).filter(Amazonlisted.suppressFbbPriceUpdate==False).filter(Amazonlisted.fbbListedOn != None).all()
|
2720 |
return Amazonlisted.query.filter(Amazonlisted.isFbb==True).filter(Amazonlisted.suppressFbbPriceUpdate==False).filter(Amazonlisted.fbbListedOn != None).all()
|
| 2721 |
|
2721 |
|
| 2722 |
def get_count_for_marketplaceHistory(source,itemId):
|
2722 |
def get_count_for_marketplaceHistory(source,itemId):
|