Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35469 25 d 23 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Leads Follow ups  
35467 26 d 0 h amit /trunk/ Optimize /lead-description endpoint

- Add null check for authUser to prevent NPE
- Move visitRequests query inside followUp block
- Move Comparator outside loop
- Rewrite selectLeadsScheduledBetweenDate using Criteria API with Predicates
- Single query joins Lead + LeadActivity with filters in DB
- Remove in-memory filtering of assignTo
 
35458 26 d 22 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
 
35435 28 d 7 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Add @Transactional(readOnly = true) to GET methods in controllers

Added @Transactional(readOnly = true) to all read-only GET methods across 14 controllers:
- RetailerController (10 methods)
- UserController (16 methods)
- WalletController (5 methods)
- CartController (2 methods)
- StoreController (25 methods)
- DealsController (20 methods)
- ShopController (1 method)
- CustomerController (2 methods)
- NotificationController (3 methods)
- SolrSearchController (2 methods)
- InsuranceController (1 method)
- GatewayController (1 method)
- LeadController (13 methods)
- RechargeController (4 methods)

Total: 105 methods updated

All methods verified to only set @Transient fields on entities, ensuring no dirty writes.
 
35415 30 d 4 h amit /trunk/ Commit Changes  
35397 30 d 17 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed performance  
35288 62 d 23 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed lead self Assigned  
35079 112 d 6 h vikas /trunk/ Live Tracking and Shopify Products List Sync  
35075 113 d 1 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fix:Timeline visibility  
34796 185 d 7 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ code committed for positions list according to remark date of partner  
34670 213 d 3 h aman.kumar /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Duplicate entry for not interested leads  
34626 231 d 5 h aman.kumar /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Error fix in duplicate entry of leads  
34625 231 d 5 h aman.kumar /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Duplicate Lead Entry Message fix  
34622 232 d 4 h aman.kumar /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixing duplicate input errors in Lead Assign  
34429 275 d 23 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ code committed for all party visibility  
34428 275 d 23 h ranu /trunk/ code committed for all party visibility  
34394 281 d 8 h tejus.lohani /trunk/ fix lead persist and lead update issue , and some change in lead table or schema  
34391 282 d 4 h tejus.lohani /trunk/ outlet name in lead  
34386 283 d 6 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ update code potential  
34322 302 d 23 h ranu /trunk/ rating related code done  
34301 305 d 21 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ rbm rating phase one  
34288 312 d 0 h ranu /trunk/ code commit for franchisee visit and rbm ratings  
34276 315 d 3 h ranu /trunk/ code commit for franchisee visit and rbm ratings  
34268 317 d 6 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ added potential in lead  
34266 317 d 8 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ added potential in lead  
34228 329 d 6 h tejus.lohani /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ upload all shop photo or no file upload if source is other then self-Commit right now bcoz its not working in android phones  
34124 368 d 2 h tejus.lohani /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ upload all shop photo or no file upload if source is other then self  
34118 371 d 2 h tejus.lohani /trunk/ create lead detail to add shop photo  
33041 685 d 3 h ranu /trunk/ latest point done on ticket map project  
32978 694 d 23 h amit.gupta /trunk/ Checked in some basic resources  
32940 707 d 7 h ranu /trunk/ CREATE NEW recording repo and first stage code of chat activity  
32923 710 d 6 h ranu /trunk/ code commited for chat activity media and ticket activity  
32747 760 d 7 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ AA  
32746 760 d 8 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ AA  
32737 763 d 4 h amit.gupta /trunk/ Added Logic for Click2Call  
32703 770 d 1 h amit.gupta /trunk/ Added api to receive smartping  
32702 770 d 23 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ AA  
32701 771 d 3 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ AA  
32587 808 d 2 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ fixed spelling typo  
31728 1036 d 3 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed net availability to SaholicCIS Table