Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36521 2 d 23 h amit /trunk/ Added RequestCachingFilter  
36451 11 d 22 h amit /trunk/profitmandi-dao/src/main/ Add reference field to catalog.offer and catalog.scheme for payout collation  
36374 20 d 0 h ranu /trunk/ schemes and offer for v2 version  
36337 22 d 4 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ Move CronBatchService and OfferProcessingHelper from cron to dao so web/fofo can reuse the batch infra; fix empty-IMEI NPE in getInventoryItemMap that broke /offer/process for partners with no billed/scanned serials  
36305 25 d 8 h amit /trunk/profitmandi-dao/src/main/ Batch processing infrastructure + per-partner offer processing + partner limit optimization + investment cache eviction on billing/payment/cancellation with 3hr TTL  
36103 44 d 20 h amit /trunk/profitmandi-dao/src/main/ Add DN rejection with full reversal: restore inventory, schemes, price drops, offers; add deny reason to purchase return items; add purchase return notification service  
36051 51 d 0 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 51 d 2 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 72 d 22 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 74 d 18 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 74 d 19 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 22 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 76 d 22 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ ofer service replace redi cache to normal cache  
35856 76 d 23 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 96 d 15 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 96 d 16 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 96 d 23 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 106 d 18 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 148 d 14 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Improved performance  
35205 210 d 23 h amit /trunk/ Offer send Notification refactoring  
34624 349 d 21 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ Fixed  
34623 349 d 23 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ Added logs  
34231 446 d 5 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 447 d 22 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ config  
34226 447 d 23 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ config  
34217 448 d 3 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Eligible imeis should only pe paid out  
34148 478 d 4 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ code reverted as amit serial number  
34147 478 d 4 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ offer serial number given amount according to amit parajapati  
34092 499 d 2 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ Offer fix for cased where products are returned  
34073 507 d 3 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ find out scheme process logger  
34072 507 d 3 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ find out scheme process logger  
33999 533 d 4 h tejus.lohani /trunk/ bug fix -offer payout report  
33695 630 d 3 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ Fixed NPE issue with eligible Slab  
33662 640 d 1 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ Fixed changes related to Offer duplicate payout  
33613 658 d 2 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ Ok  
33459 692 d 20 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fixed changes regarding credit issue  
33441 704 d 4 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Offer Processing fixed  
33247 754 d 1 h ranu /trunk/ warehouse billing phase one and added signature exception  
33088 792 d 7 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ Changed 90 to 300 days  
33087 792 d 20 h amit.gupta /trunk/ Added changes to stop payouts for samsung stock aged above 90 days since primary.