Subversion Repositories SmartDukaan

Rev

Rev 18600 | Rev 18764 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18600 Rev 18719
Line 13... Line 13...
13
    to_t_marketplace_itemprice, to_t_marketplacepercentage, to_t_flipkart_item, \
13
    to_t_marketplace_itemprice, to_t_marketplacepercentage, to_t_flipkart_item, \
14
    to_t_flipkart_item_details, to_t_market_place_history, to_t_private_deal, \
14
    to_t_flipkart_item_details, to_t_market_place_history, to_t_private_deal, \
15
    to_t_amazonoutofsync, to_t_private_deals_comparison, \
15
    to_t_amazonoutofsync, to_t_private_deals_comparison, \
16
    to_t_snapdeal_marketplace_item, to_t_flipkart_marketplace_item, \
16
    to_t_snapdeal_marketplace_item, to_t_flipkart_marketplace_item, \
17
    to_t_competitor_pricing, to_t_amazon_promotion, to_t_Amazonlisted_promo, \
17
    to_t_competitor_pricing, to_t_amazon_promotion, to_t_Amazonlisted_promo, \
18
    to_t_hsItem, to_t_bulk_pricing
18
    to_t_hsItem, to_t_bulk_pricing, to_t_dtr_pricing
19
from shop2020.model.v1.catalog.impl.DataAcessors import add_item, retire_item, \
19
from shop2020.model.v1.catalog.impl.DataAcessors import add_item, retire_item, \
20
    change_item_status, get_item, get_all_items, get_all_items_by_status, \
20
    change_item_status, get_item, get_all_items, get_all_items_by_status, \
21
    update_item, start_item_on, close_session, retire_item_on, \
21
    update_item, start_item_on, close_session, retire_item_on, \
22
    get_items_by_catalog_id, get_best_deals, get_best_deals_catalog_ids, \
22
    get_items_by_catalog_id, get_best_deals, get_best_deals_catalog_ids, \
23
    get_best_deals_count, get_best_sellers, get_latest_arrivals, \
23
    get_best_deals_count, get_best_sellers, get_latest_arrivals, \
Line 1771... Line 1771...
1771
        finally:
1771
        finally:
1772
            close_session()
1772
            close_session()
1773
    
1773
    
1774
    def getPricingForDtr(self,catalogItemId):
1774
    def getPricingForDtr(self,catalogItemId):
1775
        try:
1775
        try:
1776
            return to_t_item(get_pricing_for_dtr(catalogItemId))
1776
            return to_t_dtr_pricing(get_pricing_for_dtr(catalogItemId))
1777
        finally:
1777
        finally:
1778
            close_session()
1778
            close_session()
1779
            
1779
            
1780
    def getAllItemstoListOnFbd(self):
1780
    def getAllItemstoListOnFbd(self):
1781
        try:
1781
        try: