Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36081 5 h 59 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Use JDK serialization for Redis caches with Map<Integer,...> keys

GenericJackson2JsonRedisSerializer converts Map Integer keys to String
during JSON serialization. On deserialization, map.get(Integer) returns
null since keys are now Strings. This broke allOffers, offer.slabpayout,
catalog.published_yearmonth, and offer.achievement caches.

Fix: Use JdkSerializationRedisSerializer for these specific caches to
preserve exact Java types. Added Serializable to 9 model classes in the
offer object graph: CreateOfferRequest, TargetSlab, ItemCriteriaPayout,
ItemCriteria, PartnerCriteria, PayoutSlab, AmountModel, QtyAmountModel,
DateRangeModel.
 
36080 6 h 10 m aman /trunk/profitmandi-fofo/src/main/ Fix:Replace "FOFO/FOCO/COCO" with "Partner" — Visual Only  
36079 8 h 2 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/catalog/ Fix offers not visible in price circular - cache manager mismatch

selectAllPublishedMapByPartner was cached in Caffeine (oneDayCacheManager)
but evictOfferCaches cleared it from Redis (redisCacheManager). Eviction
had no effect, so stale in-memory cache served old data for up to 6 hours.
Changed to redisCacheManager to match the eviction target.
 
36078 8 h 6 m aman /trunk/ Fix:Block Order creation without an associated ‘Temp Code’  
36077 8 h 29 m amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Use SDCreditServiceImpl.getTier1Days() instead of inline partner type check  
36076 8 h 29 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ Merge penalty into interest terms, add GOLD to premium tier, use PREMIUM_CD_TYPES for tier1 days, remove penaltyRate from API response  
36075 9 h 3 m ranu /trunk/ code commit via websocket instead of selenium for agent status  
36074 9 h 20 m amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Add search transactions feature to Out of Stock tab in warehouse management  
36073 9 h 24 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Prevent THIRD_PARTY/BAD warehouses from being used as fulfilment warehouse

- BrandRegionMapping: Filter availability query to only return OURS/GOOD
warehouses as vendor_warehouse_id in both reservation and stock subqueries.
Prevents THIRD_PARTY warehouses from entering fulfilment pipeline.

- TransactionServiceImpl: Add OURS/GOOD validation in processTransaction()
before setting warehouse_id. Throws if invalid warehouse slips through
any code path, matching existing validation in changeFulfillmentWarehouse().
 
36072 12 h 46 m ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/knowlarity/ correction on breaking and avaialble timing  
36071 12 h 48 m amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Premium CD days: validate freeCreditDays per partner type, return partialCdDays/fullCdDays in gateway status API  
36070 12 h 49 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ Premium CD days: add partner-type helpers, update credit terms, fix CD rejection for 20-day loans, update invoice PDF terms  
36069 12 h 49 m amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/ Add premium CD day constants and API fields for partner-type-aware free credit days (Gold/Diamond/Platinum: 10/20, others: 7/15)  
36068 13 h 14 m aman /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Fix: Training mail subject change  
36067 13 h 17 m aman /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fix:Duplicate Mail Sending issue and bug fixing  
36066 1 d 5 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/checkout/ Fix:Block first order if FULL_STOCK_PAYMENT is not done  
36065 1 d 5 h aman /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Fix:Mail error  
36064 1 d 5 h aman /trunk/ Fix:FULL_Stock flow , fin service mark unapplicable ,send invoice to whatsapp by default, update contact list ,Training mail issue  
36063 1 d 7 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ process pending mail method autowired in application java for mannually run  
36062 1 d 7 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/ Add SMTP timeouts to mail senders to prevent thread hangs  

Show All