Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35493 130 d 7 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ N+1 query optimization for B2B order creation flow

- OrderServiceImpl: Batch fetch PendingOrderItems before validation loop (line 402)
- OrderServiceImpl: Batch update opening stock using minusOpeningStockBatch
- OrderServiceImpl: Pre-fetch tagListings and GST rates before createAndGetFofoOrderItem loop
- OrderServiceImpl: Batch fetch PendingOrderItems for status update (line 719)
- CartServiceImpl: Pre-fetch items before getCartValidation loop
- SchemeServiceImpl: Batch fetch SchemeInOut records in processSchemeOut
- SmartCartService: Added minusOpeningStockBatch method for batch updates
- TagListingRepository: Added selectByItemIds batch method
- FofoOpeningStockRepository: Added findByFofoIdAndCatalogIds batch method
- PendingOrderItemRepository: Added selectByIds batch method

Performance improvement: ~70-100 DB queries reduced per order (10 items avg)
 
35236 188 d 12 h amit /trunk/ Fixed notification related issues with scheme also stopped using mongo for brands Schema  
35232 191 d 14 h ranu /trunk/ insurance can we add both same time  
35209 200 d 12 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Samsung Upgrade Logic Added  
35156 206 d 17 h aman /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Fix:Customer gender null check  
35097 215 d 18 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ get quote from backend  
35055 223 d 16 h ranu /trunk/ remove cash discount from billing page  
35034 228 d 12 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Added new method  
35000 230 d 16 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ donotcommit  
34999 230 d 16 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Update  
34994 234 d 9 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ mop and dp price validation hide  
34805 290 d 10 h ranu /trunk/ icici insurance policy phase one uploaded  
34798 292 d 13 h ranu /trunk/ icici insurance policy phase one uploaded  
34718 311 d 11 h aman.kumar /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Invoice Update error fix  
34709 311 d 17 h amit.gupta /trunk/ Added Loan Related Changes  
34504 368 d 18 h amit.gupta /trunk/ Fixed rollback of excess schemes in Oppo  
34486 373 d 11 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fixed scheme logic out reversal logic  
34474 374 d 11 h aman.kumar /trunk/ Scratch Offer  
34430 382 d 15 h tejus.lohani /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Remove free insurance on ADLD  
34381 394 d 11 h vikas.jangra /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Set Pending Order ID  

Show All