Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36051 120 d 10 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 120 d 12 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  
35924 142 d 8 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
 
35889 144 d 4 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ Fix updateOfferTargets unique key constraint - group slabs by payout_target and use updateById  
35887 144 d 6 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 144 d 8 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  
35861 146 d 8 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ ofer service replace redi cache to normal cache  
35856 146 d 9 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  
35675 166 d 1 h amit /trunk/ Offer detail modal: add slab progress one-liner, clickable dashboard titles, reorder columns

- Set nextSlab/shortValue on ItemCriteriaPayout in getOfferMargins path (sellin + sellout/activation)
- Add slab progress message after table (next slab distance or max slab achieved)
- Reorder columns: Models | Target | Base Sale | Model Sale | Payout Rate | Est. Payout
- Make offer name on partner dashboard clickable to open detail modal
- Update JS selector from p.description-offer to .description-offer
 
35673 166 d 2 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ Fix missing date range filter in per-criteria billed calculation for sellout/activation  
35667 166 d 10 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ Refactor getOfferMargins: extract helpers, add NPE guards, remove unused vars and side effects  
35595 176 d 4 h amit /trunk/profitmandi-dao/ Migrate from C3P0 to HikariCP connection pooling

- Replace C3P0 properties with HikariCP settings in all properties files
- Delete unused persistence.xml (was not referenced by any code)
- New settings: maximumPoolSize=20, minimumIdle=2, idleTimeout=30s, maxLifetime=30min
 
35394 218 d 0 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Improved performance  
35205 280 d 9 h amit /trunk/ Offer send Notification refactoring  
34624 419 d 8 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ Fixed  
34623 419 d 9 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ Added logs  
34231 515 d 15 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ Now amount for specified imeis can also be rolled out  
34227 517 d 9 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ config  
34226 517 d 9 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ config  
34217 517 d 14 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Eligible imeis should only pe paid out  

Show All