Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35919 1 d 12 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Set partnerType in SD Credit status endpoint for partner app  
35914 1 d 14 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ GatewayController: resolve effective credit days by partner type, add overdue rate and credit terms to SDDIRECT status API  
35824 10 d 10 h amit /trunk/ Fix processLoanRequest: check availability before sanction, support exception partners on cart page  
35823 10 d 10 h amit /trunk/ Allow overdue partners with fresh money to order via SD Credit on cart page  
35811 11 d 4 h amit /trunk/ Centralize credit/loan summary: CreditSummary DTO, bulk query, fix stale utilization, re-enable overdue check, fix interestPaid bug, optimize fresh money (3 queries vs 21), remove dead code  
35458 73 d 7 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 74 d 15 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.
 
35059 161 d 12 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Api to manually adjust Wallet Amount to Free Credit Day Loans  
34007 461 d 7 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Bypassed Laon constraint  
33798 524 d 14 h ranu /trunk/ penal rate of interest added  
33170 703 d 14 h amit.gupta /trunk/ Fetch only recent loan statements  
32073 1007 d 9 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Resolved the issue with any color  
31773 1065 d 7 h amit.gupta /trunk/ Fixed net availability to SaholicCIS Table  
30929 1275 d 11 h tejbeer /trunk/ change  
30864 1287 d 8 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
30859 1287 d 9 h tejbeer /trunk/ sddirect loan  
30015 1478 d 11 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
30014 1478 d 11 h tejbeer /trunk/ change  
29928 1494 d 11 h amit.gupta /trunk/ Fixed changes related to notification  
29834 1512 d 11 h tejbeer /trunk/ change  

Show All