| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 37845 |
2 d 2 h |
amit |
/trunk/profitmandi-dao/src/ |
feat(warehouse): ACTIVE/SUSPENDED/INACTIVE status + label on sellerwarehouse replace WAREHOUSE_MAP - BillingWarehouseService (active for dashboards, active+suspended for warehouse screens, names in every state, 5 min cache); setup service: guarded status change (no suspend while franchise stores or brand mapping route there, no close while stock/unshipped orders), rename, all-warehouse overview with usage; partner store assignable only to an active warehouse; daily stock alert for suspended/inactive warehouses to logistics/accounts top 2 staffed levels + leadership; dashboard warehouse list = active (replaces r37834 stock-holding loop); migration sellerwarehouse_status_display_name_20261005.sql (applied on hadb1) |
|
| 37840 |
2 d 8 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
fix(offers): select month offers by date overlap so multi-month offers show in price circular
selectAll(YearMonth) kept an offer only if its start or end date fell in the month,
so an offer running Sep 24 -> Nov 15 (e.g. 10378) was missing from October's price
circular, partner offer view and getMonthOfferIds. Now start <= month end AND
end >= month start. Offer cache eviction (edit + bulk create) clears every month
the offer covers instead of only the start month. |
|
| 37409 |
42 d 8 h |
vikas |
/trunk/ |
Changed WhatsApp service to botpenguin (DigiWaha) |
|
| 36702 |
133 d 8 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ |
Add evictMonthCaches for centralized month-level offer cache eviction. Fix createOffers upload path missing catalog.published_yearmonth eviction. Add cache inventory comments to evictOfferCaches. |
|
| 36633 |
139 d 0 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ |
Fix offer activation cache race: REQUIRES_NEW ensures DB commit before cache eviction, notification failures no longer rollback activation |
|
| 36521 |
149 d 5 h |
amit |
/trunk/ |
Added RequestCachingFilter |
|
| 36451 |
158 d 4 h |
amit |
/trunk/profitmandi-dao/src/main/ |
Add reference field to catalog.offer and catalog.scheme for payout collation |
|
| 36374 |
166 d 6 h |
ranu |
/trunk/ |
schemes and offer for v2 version |
|
| 36337 |
168 d 9 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
Move CronBatchService and OfferProcessingHelper from cron to dao so web/fofo can reuse the batch infra; fix empty-IMEI NPE in getInventoryItemMap that broke /offer/process for partners with no billed/scanned serials |
|
| 36305 |
171 d 13 h |
amit |
/trunk/profitmandi-dao/src/main/ |
Batch processing infrastructure + per-partner offer processing + partner limit optimization + investment cache eviction on billing/payment/cancellation with 3hr TTL |
|
| 36103 |
191 d 2 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 |
|
| 36051 |
197 d 5 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
Support FIXED per-pc payout with VALUE target: use per-criteria qty for payout calculation, sort payoutSlabs ascending |
|
| 36049 |
197 d 7 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
Redesign offer caching: separate definition from achievement, per-partner Redis cache, deep-copy before mutation, centralized eviction |
|
| 35924 |
219 d 3 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
Per-criteria target and payout editing for offers
- Add UpdateSlabRequest/UpdateOfferSlabsRequest models for per-slab updates
- Add id field to PayoutSlab, populate from TargetSlabEntity.id
- Add updateOfferSlabs() service method: validates slab ownership, updates payoutTarget and payoutValue independently
- Keep updateOfferTargets() for backward compatibility |
|
| 35889 |
220 d 23 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ |
Fix updateOfferTargets unique key constraint - group slabs by payout_target and use updateById |
|
| 35887 |
221 d 1 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
Fix: use partner_criteria JSON instead of offer_partners table for partner management |
|
| 35885 |
221 d 3 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
Admin offer management: add/remove partners, clone offer, update targets + empty guard fix in getCreateOfferRequest |
|
| 35861 |
223 d 3 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ |
ofer service replace redi cache to normal cache |
|
| 35856 |
223 d 4 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
Optimize activated stock query (no cache), move offer cache to Redis, add bulk publish and delete offer |
|
| 35675 |
242 d 20 h |
amit |
/trunk/ |
Offer detail modal: add slab progress one-liner, clickable dashboard titles, reorder columns
- Set nextSlab/shortValue on ItemCriteriaPayout in getOfferMargins path (sellin + sellout/activation)
- Add slab progress message after table (next slab distance or max slab achieved)
- Reorder columns: Models | Target | Base Sale | Model Sale | Payout Rate | Est. Payout
- Make offer name on partner dashboard clickable to open detail modal
- Update JS selector from p.description-offer to .description-offer |
|