Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37258 9 h 31 m amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Schedule syncHotDealFlags daily 00:20 (ScheduledSkeleton) + --syncHotDealFlags CLI arg: completes r37255 - without the skeleton trigger the tag_listing.hot_deals mirror never runs, so deal windows would not start/expire in Solr  
37257 10 h 21 m amit /trunk/profitmandi-web/ chore: restore full svn:ignore list (accidentally replaced) + graphify-out  
37256 10 h 23 m amit /trunk/profitmandi-fofo/src/main/ feat: hot-deals admin — all-brands searchable/paginated table

- /hotDeals/all replaces per-brand /hotDeals table: server-side search (model/
brand), 20/page with prev/next, Brand column, newest window first
- /hotDeals/slots: active-slot usage per brand (n / 15) for the add form
- jsVersion 394
 
37255 10 h 23 m amit /trunk/profitmandi-cron/ feat: syncHotDealFlags cron entry + dev mail outbox recipient

- syncHotDealFlags: daily mirror of model_hot_deal windows into
tag_listing.hot_deals via ModelHotDealService
- dev.properties: mail.outbox.dev.recipient (required by MailOutboxService
in non-prod)
- restore full svn:ignore list (accidentally replaced) + graphify-out
 
37254 10 h 24 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ feat: hot-deals admin search/pagination + tag_listing.hot_deals write-through and daily sync

- searchAllWithCatalog/countSearchAll: all-brands deal listing joined with
Catalog (brandName transient), server-side search on model/brand, paginated
- add/removeDeal write through to tag_listing.hot_deals (Solr hot_deal_b
source) and publish a re-index event (prod-gated in TagListingChangeListener)
- syncHotDealFlags: daily reconcile of date-windowed model_hot_deal into
tag_listing.hot_deals so deal windows start/expire on time
 
37253 10 h 24 m amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/solr/ fix: drop category gate on solr query when curated hot-deal catalogIds are given

Hot-deal listings are cross-category (phones/accessories/LEDs); the curated
catalogId filter is the scope, so categoryId_i must not also constrain it.
 
37252 10 h 31 m ranu /trunk/profitmandi-dao/src/main/resources/EDM Design/ png images commited for edm  
37251 10 h 49 m amit /trunk/profitmandi-fofo/src/main/resources/META-INF/ config: point prod new.solr.url at static0 private IP (192.168.138.45)

Matches profitmandi-web; avoids public routing to 172.105.58.16 from prod
(3ms vs WAN round-trip per solr query). Verified reachable from the prod
fofo server.
 
37250 10 h 49 m amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ perf: speed up /partner/listing by batching partner-level data and parallelizing solr calls

- Fetch stock snapshot, favourites, web offers, combo models, CIS, items,
cashback and price circular once per request (union of all listings'
catalogs/items) instead of once per listing
- Precompute slab-payout/scheme-offer alignment once per catalog so shared
PriceCircularItemModelNew instances are not mutated twice
- Fan per-listing solr queries out on a bounded thread pool; brand exclusion
resolved once on the request thread (Hibernate session is thread-bound)
- Drop per-doc info logs (full stock map, label dumps, solrtype)
 
37249 10 h 57 m vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Null check for email  
37248 11 h 5 m vikas /trunk/ Updated Escalation Level  
37247 14 h 57 m amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Hot deal surfacing: HotDealEnrichmentService attaches hotDealTags (condition/activated/warranty/fin-mapped/affordability pills, No values hidden) to fofo listing, favourites and partnerdeals responses; /fofo hotDeal=true now sources from model_hot_deal actives via Solr catalogId filter  
37246 15 h 7 m amit /trunk/profitmandi-fofo/src/main/ Hot deals admin: five mandatory attribute inputs (no defaults) on add + inline row edit, table columns, updateDeal params; jsVersion 393  
37245 15 h 7 m amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/solr/ SolrService: getSolrDocs overload with hotDealCatalogIds - restrict parents to active model_hot_deal models instead of legacy hot_deal_b child flag  
37244 15 h 7 m amit /trunk/profitmandi-dao/src/ Hot deal attributes: five mandatory fields (warranty_months 0-12, item_condition NEW/OPEN_BOX/REFURBISHED, activated, finance_mapping, affordability) on model_hot_deal - entity+enum+attributes holder, service validation (no defaults), addDeal/updateDeal signatures, selectActiveByCatalogItemIds/selectAllActive repo queries, hotDealTags on FofoCatalogResponse, DDL script, tests (14 green)  
37243 1 d 7 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ state head should be l4 and l5  
37242 1 d 7 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/catalog/ Reject non-18% GST rates for TV categories (14202/14203) in addStateGstRates - GST 2.0 makes all TVs 18% regardless of screen size; guards item-loader sheets and Taxation CSV upload from re-introducing 28%  
37241 1 d 13 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ Harden cancelMarginDnIrns: per-DN REQUIRES_NEW transaction (NIC cancel is irreversible; later failures must not roll back earlier cancelled flags) and treat NIC already-cancelled as success so re-runs converge DB to NIC state  
37240 1 d 13 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/transaction/ Amend cancelled-doc filtering (r37239): hide only cancelled docs WITHOUT a CN_CANCELLATION reversal pairing. The 513 May-2026 cancelled CNs must stay visible so statements net original+cancellation (21 pairs cross months); NIC-cancelled docs with no reversal doc (cancel+reissue flow) are hidden everywhere  
37239 1 d 13 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/transaction/ Exclude cancelled credit notes from statement and CN-list queries (selectAll, selectByMarginMonth, selectMarginsTypeByMonth): cancelled docs must not appear in partner statements or listings  

Show All