Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37071 8 d 8 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Normalize whitespace on Catalog/Item setters + ItemLoaderService bulk upload (T9.5 sanitizer)  
36768 48 d 8 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/ Restore ActivatedImei.checked idempotency guard (revert r36579)

r36579 removed the 'ai.checked = false' filter from selectMissedActivationSale
and dropped the checked field, treating it as dead. It was not: the filter
prevented the daily activation-scheme sweep from re-processing the ~163K
already-evaluated historical activations (checked=1). Without it, the sweep
resurrected those old activations as PENDING scheme_in_out rows, and the
oldest ones (whose legacy orders have no fofo_order) made processActivation
throw FFORDR_1000 and roll back the entire batch every run since 2026-05-18,
stalling all special-support credits.

Restores the checked field + accessors and the 'ai.checked = false' filter.
checked column repopulated on fofo.activated_imei from backup; rogue PENDING
rows cleaned up separately.
 
36579 65 d 11 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/ Remove unused checked flag from ActivatedImei; remove dead ai.checked=false filter from selectMissedActivationSale query  
36562 66 d 13 h amit /trunk/profitmandi-dao/src/main/ Flagship credit: date-wise model_flagship table, sale-time conversion with pessimistic locking, batch queries, extracted doConvertFlagshipToLoan helper, removed Catalog.isFlagship  
36557 66 d 20 h amit /trunk/ feat: Flagship Credit - 30 interest-free days for flagship models with billing split, expiry conversion, API-driven T&C  
36451 80 d 9 h amit /trunk/profitmandi-dao/src/main/ Add reference field to catalog.offer and catalog.scheme for payout collation  
36441 81 d 13 h amit /trunk/profitmandi-dao/src/main/ Rename monitor type 'normal' to 'base' in enum and SQL schema  
36428 83 d 10 h aman /trunk/ Fix:Partner Stock Api  
36413 84 d 13 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/ Added Rising Star/NEW  
36410 84 d 14 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/ Added Rising Star/NEW  
36403 85 d 11 h amit /trunk/profitmandi-dao/src/main/ Add catalog.catalog_monitor_type table, entity, and repository for per-catalog focused/normal monitor type tagging  
36397 85 d 12 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 88 d 11 h ranu /trunk/ schemes and offer for v2 version  
35870 144 d 10 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/ Trim whitespace and NBSP in setModelName and setModelNumber  
35869 144 d 11 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/ Trim whitespace and NBSP in Item.setColor to prevent color filter mismatch  
35694 162 d 14 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/catalog/ Fixed SchemeService  
35547 188 d 10 h amit /trunk/ Real-time Solr updates for TagListing changes

- Add Spring ApplicationEvent for TagListing changes (price, status, create, delete)
- Add async listener for incremental Solr updates (updateSingleCatalog)
- Add failure tracking with solr_update_failures table for visibility
- Add admin dashboard API for tech team to retry failed updates
- Add auto-retry job every 5 minutes (max 3 retries)
- Add startup sync for consistency after restart
- Add isProd check to skip Solr updates in local/dev environment
- Inject event publisher in TagListing, PriceDrop, Indent controllers
 
35501 203 d 14 h ranu /trunk/ today offer modal done  
35487 210 d 10 h ranu /trunk/ place ment plan page show catalog status wise  
35426 215 d 7 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ eol item remove from listing b2b (solr)  

Show All