Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35585 27 d 6 h ranu /trunk/ code updated by  
35583 28 d 6 h ranu /trunk/ code updated by  
35543 40 d 10 h amit /trunk/profitmandi-fofo/src/main/ Use doPostAjaxRequestWithJsonHandler for getMonthWisePurchase and change to @RequestBody  
35541 40 d 10 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Change getMonthWisePurchase endpoint to POST method  
35514 45 d 4 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>
 
35480 58 d 11 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 59 d 12 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
 
35458 60 d 5 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
 
35439 61 d 7 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed  
35437 61 d 10 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed  
35432 62 d 5 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Remove @Transactional from DashboardController

Transaction management now handled at repository level (GenericRepositoryImpl).
Controllers no longer need @Transactional annotation.
 
35430 62 d 5 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix: Add @Transactional(readOnly = true) to DashboardController

Hibernate's getCurrentSession() requires a transaction context.
Using readOnly=true provides session context with optimizations:
- No row-level locks acquired
- DB can optimize for read-only queries
- Shorter connection hold time than read-write transactions
 
35429 62 d 5 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Remove unnecessary @Transactional from DashboardController

- Removed class-level @Transactional(rollbackOn = Throwable.class)
- All 57 methods in this controller are read-only operations (dashboards, charts, reports)
- No transaction management needed for pure read operations
- Reduces unnecessary connection pool usage
 
35395 64 d 0 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed performance  
35340 76 d 13 h aman /trunk/profitmandi-fofo/src/main/ Feat:Approval page to trial user  
35310 89 d 7 h aman /trunk/profitmandi-fofo/src/main/ Fix:Fix Monthly sale  
35284 97 d 0 h aman /trunk/ Fix:Monthly acceories sale  
35247 110 d 14 h vikas /trunk/ Fix:Partner Target for diwali and Download app link  
35119 135 d 13 h aman /trunk/ FIx: contact-us update , Seconday sale method , Running model on dashboard modal  
35104 137 d 12 h vikas /trunk/ Oppo Diwali Rewards  
35099 141 d 10 h amit /trunk/ Fixed dashboard  
35064 147 d 6 h aman /trunk/ Feat:BrandwiseSale and brandWise Item wise sale and live scratch offer  
34973 163 d 8 h aman /trunk/ Fix:Mobile LMS chart fix  
34813 212 d 7 h aman /trunk/ Partner Dashboard Analysis  
34781 223 d 9 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed Year Month logic  
34617 266 d 11 h amit.gupta /trunk/profitmandi-fofo/src/main/ Fixed Live demo issue  
34528 288 d 9 h ranu /trunk/profitmandi-fofo/src/main/ given chart to analysis  
34388 316 d 5 h tejus.lohani /trunk/ partner DashBoard model wise barchart with some extra filter , dateRange and value ad quantity , on click bar , open new model wise barchart , that is show detailed chart with sale ,active and unactive models  
34181 376 d 7 h tejus.lohani /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ brands list bug fix , tech-84 fix  
34176 378 d 10 h tejus.lohani /trunk/profitmandi-fofo/src/main/ brand filter on retailer dashboard  
34152 393 d 6 h tejus.lohani /trunk/ add aman.gupta@smartdukaan.com as admin  
34085 418 d 6 h tejus.lohani /trunk/ Store Potential must be greater than or equal to Wallet Value, Loi cancel button for HOD , change store type feature in pending loi form ,data table in wod-fin-mapping,expose code in wod status in wod-fin-mapping,remove xiaomi brand in dms code panel and wod-fin mapping report  
33770 524 d 6 h ranu /trunk/ vikas given permission of technology  
33705 543 d 8 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed utilization  
33501 600 d 5 h ranu /trunk/ print banners updated  
33409 629 d 14 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ revert code mahaveer performance percentage  
33408 630 d 10 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ MAHAVEER PERFORMANCE HIGH GRAPH CHNAGED  
33401 631 d 13 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ show offer data last 12 month  
33310 657 d 8 h amit.gupta /trunk/ Grn Pending Imeis would be visilbe unless orders are marked delivered.  
33147 698 d 9 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ patch for