Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36849 2 d 11 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ code committed fo bgc lead  
36816 7 d 21 h aman /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Updated IT Emails  
36725 20 d 22 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ beat plan info commit  
36481 42 d 16 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ l3 and avobe show all warehouse stock  
36480 42 d 16 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ without vendor catalog pricing po will not create  
36268 64 d 19 h ranu /trunk/profitmandi-fofo/src/main/ escaltions updated on dashboard detail  
36242 68 d 15 h aman /trunk/ Fix:Attachment is Full-stock payment approval ,Timeline ui graphical summary, wod initianl mail after store code creation  
35995 96 d 15 h aman /trunk/ Fix:Redesign the Po Approval page, and po creation logic for first po, trail mails formatting fix  
35943 104 d 16 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/ Reduce log noise: demote interceptor/cookie per-request INFO to DEBUG, demote large object dumps and loop logging to DEBUG, fix string concatenation in log statements  
35854 112 d 11 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix: Restore position-based auth filtering in getWarehousePartners for warehouseId=0  
35585 146 d 16 h ranu /trunk/ code updated by  
35583 147 d 15 h ranu /trunk/ code updated by  
35543 159 d 20 h amit /trunk/profitmandi-fofo/src/main/ Use doPostAjaxRequestWithJsonHandler for getMonthWisePurchase and change to @RequestBody  
35541 159 d 20 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Change getMonthWisePurchase endpoint to POST method  
35514 164 d 14 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 177 d 20 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 178 d 22 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 179 d 14 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 180 d 16 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed  
35437 180 d 19 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed  
35432 181 d 14 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 181 d 15 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 181 d 15 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 183 d 9 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed performance  
35340 195 d 22 h aman /trunk/profitmandi-fofo/src/main/ Feat:Approval page to trial user  
35310 208 d 17 h aman /trunk/profitmandi-fofo/src/main/ Fix:Fix Monthly sale  
35284 216 d 10 h aman /trunk/ Fix:Monthly acceories sale  
35247 229 d 23 h vikas /trunk/ Fix:Partner Target for diwali and Download app link  
35119 254 d 23 h aman /trunk/ FIx: contact-us update , Seconday sale method , Running model on dashboard modal  
35104 256 d 21 h vikas /trunk/ Oppo Diwali Rewards  
35099 260 d 20 h amit /trunk/ Fixed dashboard  
35064 266 d 15 h aman /trunk/ Feat:BrandwiseSale and brandWise Item wise sale and live scratch offer  
34973 282 d 17 h aman /trunk/ Fix:Mobile LMS chart fix  
34813 331 d 17 h aman /trunk/ Partner Dashboard Analysis  
34781 342 d 18 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed Year Month logic  
34617 385 d 20 h amit.gupta /trunk/profitmandi-fofo/src/main/ Fixed Live demo issue  
34528 407 d 18 h ranu /trunk/profitmandi-fofo/src/main/ given chart to analysis  
34388 435 d 15 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 495 d 16 h tejus.lohani /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ brands list bug fix , tech-84 fix  
34176 497 d 19 h tejus.lohani /trunk/profitmandi-fofo/src/main/ brand filter on retailer dashboard