Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36400 7 d 15 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Replace mailSender (SendGrid) with gmailRelaySender - SendGrid API key expired/revoked  
36377 10 d 13 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Dashboard API  
36376 10 d 14 h aman /trunk/ Feat:Cart Api Implementation  
36310 15 d 6 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/checkout/ Complete applyColorChange rename: caller + handler method

r36305 renamed OrderServiceImpl.notifyColorChange -> applyColorChange but missed the
caller in this controller and the handler method name. Completes the rename so trunk
compiles. REST endpoint URL /order/notify-color-change is preserved as an external
contract.
 
36281 18 d 12 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/checkout/ Replace retailerBlockBrands with DMS code-based brand eligibility check in OrderController.createOrder - use partnerIneligibleBrands from partner_dealer_mapping instead of retailer_block_brands table  
36265 20 d 15 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/checkout/ Fix:Block first order through App  
36071 39 d 17 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Premium CD days: validate freeCreditDays per partner type, return partialCdDays/fullCdDays in gateway status API  
36066 40 d 10 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/checkout/ Fix:Block first order if FULL_STOCK_PAYMENT is not done  
35972 55 d 18 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/checkout/ Fix:Block 1st payment is fullstock payment is not done  
35863 67 d 11 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/checkout/ fix: OrderController - fix refundedAmount accumulation bug, batch-fetch providers and image URLs, reuse OrderStatusGroups, remove verbose logging  
35859 67 d 13 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/checkout/ Fixed selectById issue  
35847 68 d 16 h amit /trunk/profitmandi-web/src/main/ fix: change order/create from GET to POST to enable duplicate order prevention via PostInterceptor idempotency check  
35834 70 d 10 h amit /trunk/ Optimize order creation: skip getSpilitStock N+1 (9s), batch-fetch items/tagListings/warehouses in TransactionServiceImpl  
35758 81 d 10 h vikas /trunk/ Removed tarun verma's email from trial service  
35689 84 d 22 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/checkout/ Optimize transaction order creation: restrict investment check to hard_limit partners, eliminate duplicate DB queries, batch-fetch categories and high-demand items, reuse pre-fetched data in focusedModelShortageValidation and transaction processing  
35652 90 d 10 h vikas /trunk/ PineLabs Offer and Create Order  
35575 106 d 4 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/checkout/ Return full CartResponse on cart validation failure

- Return cartValidationResponse instead of generic CART_CHANGED error
- Allows app to display specific price change messages to user
 
35494 131 d 7 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/checkout/ N+1 query optimization for B2B order creation flow

- OrderController: Pre-fetch items and tagListings before cart line loop
- OrderController: Reuse brand stock data for both limit checks (3 queries instead of 6)

Performance improvement: ~20-30 DB queries reduced per order
 
35458 135 d 10 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
 
35455 135 d 13 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/checkout/ order controller @Transaction roll back for current  

Show All