Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35525 201 d 18 h ranu /trunk/profitmandi-fofo/src/main/ content exception added  
35523 201 d 19 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ lead repo done  
35517 202 d 17 h aman /trunk/profitmandi-fofo/src/main/ Fix:Update Brand Market Share and give status wise filter for trial users  
35514 203 d 15 h amit /trunk/profitmandi-fofo/src/main/ Fix getMobileLMPGraph 414 error - convert GET to POST

- Changed /getMobileLMPGraph from GET with @RequestParam to POST with @RequestBody
- Updated frontend to use doPostAjaxRequestWithJsonHandler instead of doGetAjaxRequestHandler
- Reuses LMSGraphRequest model for request body (same as getMobileLMSGraph)
- Fixes 414 Request-URI Too Large error when many fofoIds are passed

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
 
35509 207 d 20 h amit /trunk/ Add manual partner type upgrade support with source tracking

- Add PartnerTypeSource enum (CALCULATED, MANUAL)
- Add source and upgradedBy fields to PartnerTypeChange entity
- Manual upgrades now backdated to 1st of month for full month effect
- Fix repository queries to use id DESC as tie-breaker (MySQL 5.7 compatible)
- Track who performed manual upgrade via upgradedBy field
 
35508 207 d 20 h ranu /trunk/ lead repo done  
35507 207 d 21 h ranu /trunk/ lead repo done  
35505 208 d 22 h ranu /trunk/profitmandi-fofo/src/main/ today offer modal done  
35503 208 d 22 h vikas /trunk/ Shopify : Orders  
35501 208 d 23 h ranu /trunk/ today offer modal done  
35499 209 d 18 h aman /trunk/ Fix:Trial Activation Mail, All trial user page and gst validation  
35492 214 d 17 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ givemn fin service access to alok  
35490 215 d 16 h ranu /trunk/ given brandwise placement acesseries qty instead of value  
35487 215 d 20 h ranu /trunk/ place ment plan page show catalog status wise  
35484 216 d 17 h ranu /trunk/profitmandi-fofo/src/main/ in brnd wise placement showed qty instead of stock value as per tarun sir  
35480 216 d 21 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix NPE in getWarehousePartners when warehouseId=0 and show all partner stats; add stack trace logging to GlobalExceptionHandler  
35466 217 d 23 h amit /trunk/ Optimize getActivatedImeiUpdationDate endpoint

- Add 30-day date filter to reduce table scan
- Replace LineItemImeiView with direct LineItemImei table
- Merge results with master brands/warehouses to show all combinations
- Display '-' for missing timestamps instead of hiding rows
 
35465 218 d 7 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/monitors/ Optimize today_po_rbm: single-pass iteration for warehouseWalletAmountModels

- Replace two separate stream operations with single loop
- Use EnumSet for efficient WalletReferenceType lookup
- Use Map.merge() for cleaner aggregation
 
35462 218 d 9 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix LockAcquisitionException: Use bulk partner type fetch in controllers

Use getTypesForFofoIds() bulk method to avoid N+1 queries in:
- IndentController
- PlacementPlanController
- OrderManagementController
 
35458 218 d 15 h amit /trunk/ Revert @Transactional(readOnly=true) - keep @Transactional only at Controller level

Changes:
- profitmandi-web: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional(readOnly = true)
- profitmandi-fofo: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional
- profitmandi-dao: Removed @Transactional from services/repositories

Exceptions (called from interceptors, need own transaction):
- RoleManager: @Transactional(readOnly = true) - called from interceptor for auth
- PartnerTypeChangeServiceImpl.getBestPartner(): @Transactional - called from JWTUtil via interceptor

Fixed javax.transaction.Transactional to org.springframework.transaction.annotation.Transactional
Fixed rollbackOn to rollbackFor for Spring compatibility
 

Show All