Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36397 9 d 3 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 36 d 22 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 96 d 0 h amit /trunk/ Fixed SchemeService  
35252 183 d 6 h aman /trunk/ Feat:Expire Schemes by ids and lead assign to bgc too  
35060 224 d 18 h amit /trunk/ Fixed wrong notifications going to retailers  
34709 314 d 5 h amit.gupta /trunk/ Added Loan Related Changes  
34568 355 d 23 h vikas.jangra /trunk/ Liquidation/Bidding push notification and Publish Email  
34317 413 d 5 h amit.gupta /trunk/ commit for scheme related changes  
34221 440 d 3 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 650 d 0 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/scheme/ Fixed Returns  
33432 700 d 22 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ Fixed bug due to price drop  
33248 746 d 4 h ranu /trunk/ exception added  
32972 808 d 22 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 1003 d 20 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/scheme/ Fixe  
31410 1217 d 5 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/scheme/ Fixed sellout schemes  
31387 1219 d 5 h amit.gupta /trunk/ Added scheme related changes
Added Sellout scheme
Extend All wont extend Sp.Support/Activation/Sellout Scheme
 
31170 1265 d 0 h amit.gupta /trunk/ Fixed Duplicate imeis while rolling out additional schemes and Added Region wise schemes  
30957 1328 d 18 h amit.gupta /trunk/ Fixed changes related to credit note  
30897 1347 d 0 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Added Logic to automate schemes based on activation  
30572 1433 d 22 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  

Show All