Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35554 96 d 19 h ranu /trunk/profitmandi-fofo/src/main/ bulletin updated on dashboard and give access category department  
35553 96 d 19 h ranu /trunk/profitmandi-fofo/src/main/ bulletin updated on dashboard and give access category department  
35552 96 d 19 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ bulletin updated on dashboard and give access category department  
35551 96 d 21 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ bulletin updated on dashboard and give access category department  
35550 96 d 21 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/ bulletin updated on dashboard and give access category department  
35549 96 d 21 h ranu /trunk/ bulletin updated on dashboard and give access category department  
35548 97 d 15 h aman /trunk/ Feat : Bulk uploader for lead reassign and update state and city for leads  
35547 97 d 18 h amit /trunk/ Real-time Solr updates for TagListing changes

- Add Spring ApplicationEvent for TagListing changes (price, status, create, delete)
- Add async listener for incremental Solr updates (updateSingleCatalog)
- Add failure tracking with solr_update_failures table for visibility
- Add admin dashboard API for tech team to retry failed updates
- Add auto-retry job every 5 minutes (max 3 retries)
- Add startup sync for consistency after restart
- Add isProd check to skip Solr updates in local/dev environment
- Inject event publisher in TagListing, PriceDrop, Indent controllers
 
35546 99 d 14 h aman /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fix:Update contact list  
35545 99 d 15 h ranu /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ motorola in brand  
35544 101 d 17 h amit /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Handle scientific notation (e.g., 1.37E7) in numberToComma() function  
35543 102 d 19 h amit /trunk/profitmandi-fofo/src/main/ Use doPostAjaxRequestWithJsonHandler for getMonthWisePurchase and change to @RequestBody  
35542 102 d 19 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fix POST ajax call to use $.ajax with data parameter for proper form encoding  
35541 102 d 19 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Change getMonthWisePurchase endpoint to POST method  
35540 102 d 19 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Change getPartnersPurchaseDetail to use POST request  
35539 102 d 19 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Add click handlers to total row in Purchase MileStone table  
35538 103 d 10 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Add total row to Purchase MileStone table and clean up code formatting  
35537 103 d 10 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Optimize getAllPartnerStats: combine 5 tertiary queries into 1 using CASE WHEN pattern

- Added PartnerTertiarySalesModel to hold combined tertiary data
- Added FofoOrder.selectPartnerTertiarySales named query using CASE WHEN
- Added selectPartnerTertiarySales() batch method in FofoOrderItemRepository
- Updated PartnerStatsServiceImpl to use single combined query
- Reduces 5 DB queries to 1 for tertiary sales data (lmtd, mtd, lms, today, last3days)
 
35536 103 d 17 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Optimize fetchParnterStats() - fix N+1 query issues

Performance improvements:
- Use batch method getAuthUserAndEsclationByPartnerIds() instead of N+1 loop
- Add new batch method getInvestmentsForFofoStores() to replace N+1 getInvestment() calls
- Add batch query selectActivatedGrnPendingAmountByFofoIds in ActivatedImeiRepository

Before: ~900 queries for 100 stores
After: ~7 queries for 100 stores
 
35535 104 d 16 h amit /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Fix: Use camelCase for jQuery data attribute access (fofoId instead of fofo-id)  

Show All