Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36482 7 d 8 h vikas /trunk/ V2 Weekly feedback and All Brands API  
36428 14 d 12 h aman /trunk/ Fix:Partner Stock Api  
36403 16 d 13 h amit /trunk/profitmandi-dao/src/main/ Add catalog.catalog_monitor_type table, entity, and repository for per-catalog focused/normal monitor type tagging  
36374 19 d 12 h ranu /trunk/ schemes and offer for v2 version  
36302 26 d 10 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/catalog/ Add 2-min cache on Catalog.selectAllGoodStockBrandWise

Hottest query right now on the DB: 3851 execs x 297ms = ~1143 s over
2.9h uptime. Fired once per target-slab in TodayOfferServiceImpl's
findAllTodayOffer loop whenever the slab has no explicit catalog IDs.

Input is a single String brand (only ~10 brands), output is a list of
Catalog entities with no associations (all primitive/String columns,
no lazy-init risk) and the caller only invokes getBrand/getId on the
results. Safe to cache in the existing in-memory Caffeine
twoMintimeoutCacheManager.

Default Spring key (= brand) is stable; unless skips empty results.
 
36242 33 d 8 h aman /trunk/ Fix:Attachment is Full-stock payment approval ,Timeline ui graphical summary, wod initianl mail after store code creation  
36079 48 d 10 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/catalog/ Fix offers not visible in price circular - cache manager mismatch

selectAllPublishedMapByPartner was cached in Caffeine (oneDayCacheManager)
but evictOfferCaches cleared it from Redis (redisCacheManager). Eviction
had no effect, so stale in-memory cache served old data for up to 6 hours.
Changed to redisCacheManager to match the eviction target.
 
36056 49 d 12 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/catalog/ Revert criteria fallback - keep original behavior, empty criteria means missing catalog data  
36055 49 d 12 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/catalog/ Fall back to brand/category description when catalogIds resolve to no items  
36051 50 d 12 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Support FIXED per-pc payout with VALUE target: use per-criteria qty for payout calculation, sort payoutSlabs ascending  
36049 50 d 14 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Redesign offer caching: separate definition from achievement, per-partner Redis cache, deep-copy before mutation, centralized eviction  
36041 51 d 11 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/catalog/ Offer partner filter: exclude only INTERNAL fofoType instead of using internal flag  
35924 72 d 10 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Per-criteria target and payout editing for offers

- Add UpdateSlabRequest/UpdateOfferSlabsRequest models for per-slab updates
- Add id field to PayoutSlab, populate from TargetSlabEntity.id
- Add updateOfferSlabs() service method: validates slab ownership, updates payoutTarget and payoutValue independently
- Keep updateOfferTargets() for backward compatibility
 
35887 74 d 8 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fix: use partner_criteria JSON instead of offer_partners table for partner management  
35885 74 d 10 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Admin offer management: add/remove partners, clone offer, update targets + empty guard fix in getCreateOfferRequest  
35862 76 d 10 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/catalog/ offfer cache changed with local cache  
35856 76 d 11 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Optimize activated stock query (no cache), move offer cache to Redis, add bulk publish and delete offer  
35855 76 d 12 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/catalog/ Fix SAXParseException on offer publish: replace unclosed <br> with <br/> in ItemCriteriaRepositoryImpl  
35848 77 d 12 h amit /trunk/ Refactor investment logic to use own investment (total - utilized), remove minimumInvestmentOld, add OK_INVESTMENT_SHORT_PERCENTAGE constant, update thresholds CUTOFF_INVESTMENT=10 MIN_INVESTMENT_PERCENTAGE=5  
35840 78 d 12 h vikas /trunk/ Push Notification Setup Improved  

Show All