Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36397 86 d 4 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 113 d 23 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 173 d 1 h amit /trunk/ Fixed SchemeService  
35252 260 d 7 h aman /trunk/ Feat:Expire Schemes by ids and lead assign to bgc too  
35060 301 d 19 h amit /trunk/ Fixed wrong notifications going to retailers  
34709 391 d 5 h amit.gupta /trunk/ Added Loan Related Changes  
34568 433 d 0 h vikas.jangra /trunk/ Liquidation/Bidding push notification and Publish Email  
34317 490 d 6 h amit.gupta /trunk/ commit for scheme related changes  
34221 517 d 4 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 727 d 1 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/scheme/ Fixed Returns  
33432 777 d 23 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ Fixed bug due to price drop  
33248 823 d 4 h ranu /trunk/ exception added  
32972 885 d 23 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 1080 d 20 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/scheme/ Fixe  
31410 1294 d 6 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/scheme/ Fixed sellout schemes  
31387 1296 d 6 h amit.gupta /trunk/ Added scheme related changes
Added Sellout scheme
Extend All wont extend Sp.Support/Activation/Sellout Scheme
 
31170 1342 d 1 h amit.gupta /trunk/ Fixed Duplicate imeis while rolling out additional schemes and Added Region wise schemes  
30957 1405 d 19 h amit.gupta /trunk/ Fixed changes related to credit note  
30897 1424 d 0 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Added Logic to automate schemes based on activation  
30572 1510 d 23 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 1522 d 23 h amit.gupta /trunk/ Changed working of Special Support also added in nlc calculations  
30454 1523 d 5 h amit.gupta /trunk/ Fixed scheme issue  
30121 1600 d 3 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fixed scheme issue  
29234 1770 d 23 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/scheme/  
27877 1968 d 2 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/  
27424 2059 d 5 h tejbeer /trunk/ change  
27395 2072 d 7 h amit.gupta /trunk/ Fixed scheme.. now amount is also being shown  
26802 2211 d 4 h tejbeer /trunk/ change  
26684 2250 d 17 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Added scheme cashbak on store apis  
26332 2347 d 22 h amit.gupta /trunk/ Fixed price drop for newer version  
25503 2510 d 12 h amit.gupta /trunk/  
25071 2592 d 6 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/scheme/  
25069 2592 d 6 h amit.gupta /trunk/ Fixed scheme expiry logic  
24563 2705 d 22 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/  
24264 2784 d 23 h amit.gupta /trunk/ Added logic to cancel invoice  
23968 2913 d 3 h amit.gupta /trunk/ Fixed price drop  
23781 2965 d 23 h ashik.ali /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Role mgmt and non billable items to be scan  
23752 2973 d 2 h govind /trunk/ adding scheme search feature  
23638 2994 d 10 h amit.gupta /trunk/ Added Changes to Partner Return and Customers Return  
23509 3030 d 11 h amit.gupta /trunk/ Checking in Returns and added cron like behaviour to profitmandi