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
36397 82 d 13 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.
 
36374 85 d 12 h ranu /trunk/ schemes and offer for v2 version  
35099 291 d 12 h amit /trunk/ Fixed dashboard  
34752 379 d 3 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fixed Activation Scheme Logic  
34697 389 d 10 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/ Fixed  
32310 1077 d 5 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/ Fixe  
31860 1176 d 13 h tejbeer /trunk/ change  
31698 1226 d 12 h tejbeer /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/  
31696 1226 d 12 h tejbeer /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/  
31695 1226 d 12 h tejbeer /trunk/  
31657 1235 d 4 h tejbeer /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/  
31652 1235 d 4 h tejbeer /trunk/  
31651 1235 d 5 h tejbeer /trunk/ change  
31441 1282 d 12 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/ Added logic to handle zip download  
31170 1338 d 9 h amit.gupta /trunk/ Fixed Duplicate imeis while rolling out additional schemes and Added Region wise schemes  
30896 1420 d 9 h amit.gupta /trunk/ Added Logic to automate schemes  
30640 1494 d 10 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/ Added isWithinRange method to Scheme.java  
30454 1519 d 13 h amit.gupta /trunk/ Fixed scheme issue  
30121 1596 d 11 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fixed scheme issue  
28653 1824 d 15 h amit.gupta /trunk/ Added Changes to order creation  

Show All