Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36451 3 d 17 h amit /trunk/profitmandi-dao/src/main/ Add reference field to catalog.offer and catalog.scheme for payout collation  
36397 8 d 20 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 11 d 20 h ranu /trunk/ schemes and offer for v2 version  
35099 217 d 20 h amit /trunk/ Fixed dashboard  
34752 305 d 11 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fixed Activation Scheme Logic  
34697 315 d 18 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/ Fixed  
32310 1003 d 13 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/ Fixe  
31860 1102 d 20 h tejbeer /trunk/ change  
31698 1152 d 19 h tejbeer /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/  
31696 1152 d 19 h tejbeer /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/  
31695 1152 d 20 h tejbeer /trunk/  
31657 1161 d 11 h tejbeer /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/  
31652 1161 d 12 h tejbeer /trunk/  
31651 1161 d 12 h tejbeer /trunk/ change  
31441 1208 d 19 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/ Added logic to handle zip download  
31170 1264 d 17 h amit.gupta /trunk/ Fixed Duplicate imeis while rolling out additional schemes and Added Region wise schemes  
30896 1346 d 17 h amit.gupta /trunk/ Added Logic to automate schemes  
30640 1420 d 18 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/ Added isWithinRange method to Scheme.java  
30454 1445 d 21 h amit.gupta /trunk/ Fixed scheme issue  
30121 1522 d 19 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fixed scheme issue  
28653 1750 d 22 h amit.gupta /trunk/ Added Changes to order creation  
27388 1996 d 23 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/  
26685 2173 d 8 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/  
26679 2173 d 17 h amit.gupta /trunk/ Added Scheme  
25503 2433 d 4 h amit.gupta /trunk/  
24402 2681 d 22 h amit.gupta /trunk/ Fixed date formatting  
23914 2849 d 18 h govind /trunk/ Extend EndDate Scheme by All and by schemeId.
Delete ItemId by SchemeId.
Add ItemId to SchemeId.
change dateRangePicker.
Create Scheme With Multiple Brand and Multiple Items.
 
23527 2951 d 21 h ashik.ali /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Feature : Recharge Commission, some improvements, recharge live integration  
23418 2975 d 20 h ashik.ali /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ New feature: Prebooking Listing, Prebooking Orders, link with orders, order details  
23339 3010 d 19 h ashik.ali /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Bug fixed  
23297 3016 d 19 h ashik.ali /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/  
23019 3071 d 22 h ashik.ali /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/  
22859 3101 d 18 h ashik.ali /trunk/profitmandi-dao/  
22702 3120 d 21 h ashik.ali /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/  
22653 3124 d 16 h ashik.ali /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/  
22608 3128 d 20 h ashik.ali /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/  
22600 3129 d 17 h ashik.ali /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/