Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36397 109 d 6 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Scheme item windowing: add startDate/endDate per scheme_item.

Each fofo.scheme_item row now carries an optional [start_date, end_date]
window so the same (scheme_id, catalog_id) pair can be applicable for
different date ranges. Backward compatible: NULL window = always active.

- SchemeItem entity: composite (schemeId, catalogId) PK -> surrogate
long id (IDENTITY), unique (catalog_id, scheme_id, start_date, end_date),
audit cols (updatedBy, updatedOn).
- Scheme + TagListing named queries: gated by
'(si.start_date is null or :onDate between si.start_date and si.end_date)'.
- SchemeItemRepository: + selectById, selectBySchemeId,
existsOverlapping (half-open, with self-exclude), selectItemsOutsideWindow.
- SchemeService: + updateSchemeItemWindow / addSchemeItemWithDates /
clampSchemeItems with containment + overlap validation; drop dead
getTotalMargin.
- SchemeServiceImpl.processSchemeOut: pin scheme resolution to each
IMEI's GRN billing date (Purchase -> Order.billingTimestamp via
PurchaseService.getBillingDateOfPurchase) instead of fofoOrder
createTimestamp, aligning OUT with the existing IN behaviour.
 
36103 137 d 1 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  
35629 196 d 3 h amit /trunk/ Fixed SchemeService  
35252 283 d 9 h aman /trunk/ Feat:Expire Schemes by ids and lead assign to bgc too  
35060 324 d 21 h amit /trunk/ Fixed wrong notifications going to retailers  
34709 414 d 8 h amit.gupta /trunk/ Added Loan Related Changes  
34568 456 d 2 h vikas.jangra /trunk/ Liquidation/Bidding push notification and Publish Email  
34317 513 d 8 h amit.gupta /trunk/ commit for scheme related changes  
34221 540 d 6 h tejus.lohani /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/scheme/ blocked_imeis list for scheme now get from SchemeBlockedImei table  
33614 750 d 3 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/scheme/ Fixed Returns  
33432 801 d 1 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ Fixed bug due to price drop  
33248 846 d 7 h ranu /trunk/ exception added  
32972 909 d 1 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ Fixed region specific schemes dicounted value thats erronously extended to all retailers  
32309 1103 d 23 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/scheme/ Fixe  
31410 1317 d 8 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/scheme/ Fixed sellout schemes  
31387 1319 d 8 h amit.gupta /trunk/ Added scheme related changes
Added Sellout scheme
Extend All wont extend Sp.Support/Activation/Sellout Scheme
 
31170 1365 d 3 h amit.gupta /trunk/ Fixed Duplicate imeis while rolling out additional schemes and Added Region wise schemes  
30957 1428 d 21 h amit.gupta /trunk/ Fixed changes related to credit note  
30897 1447 d 3 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Added Logic to automate schemes based on activation  
30572 1534 d 1 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ Fixed issue with special support also corrected margin collection based on tax rate defined in the system  
30463 1546 d 2 h amit.gupta /trunk/ Changed working of Special Support also added in nlc calculations  
30454 1546 d 7 h amit.gupta /trunk/ Fixed scheme issue  
30121 1623 d 5 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fixed scheme issue  
29234 1794 d 1 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/scheme/  
27877 1991 d 5 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/  
27424 2082 d 7 h tejbeer /trunk/ change  
27395 2095 d 9 h amit.gupta /trunk/ Fixed scheme.. now amount is also being shown  
26802 2234 d 6 h tejbeer /trunk/ change  
26684 2273 d 20 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Added scheme cashbak on store apis  
26332 2371 d 0 h amit.gupta /trunk/ Fixed price drop for newer version  
25503 2533 d 14 h amit.gupta /trunk/  
25071 2615 d 8 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/scheme/  
25069 2615 d 8 h amit.gupta /trunk/ Fixed scheme expiry logic  
24563 2729 d 0 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/  
24264 2808 d 2 h amit.gupta /trunk/ Added logic to cancel invoice  
23968 2936 d 5 h amit.gupta /trunk/ Fixed price drop  
23781 2989 d 1 h ashik.ali /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Role mgmt and non billable items to be scan  
23752 2996 d 4 h govind /trunk/ adding scheme search feature  
23638 3017 d 13 h amit.gupta /trunk/ Added Changes to Partner Return and Customers Return  
23509 3053 d 13 h amit.gupta /trunk/ Checking in Returns and added cron like behaviour to profitmandi