Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35513 200 d 12 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/transaction/ Fixed method Number to comma for Cr. Values  
35512 200 d 16 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/fofo/ Fix NonUniqueResultException in selectPartnerType - handle multiple records (CALCULATED + MANUAL) for same date by ordering by id DESC  
35511 200 d 18 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/ Fixed method Number to comma for Cr. Values  
35510 200 d 18 h amit /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Fixed method Number to comma for Cr. Values  
35509 200 d 18 h amit /trunk/ Add manual partner type upgrade support with source tracking

- Add PartnerTypeSource enum (CALCULATED, MANUAL)
- Add source and upgradedBy fields to PartnerTypeChange entity
- Manual upgrades now backdated to 1st of month for full month effect
- Fix repository queries to use id DESC as tie-breaker (MySQL 5.7 compatible)
- Track who performed manual upgrade via upgradedBy field
 
35508 200 d 19 h ranu /trunk/ lead repo done  
35507 200 d 19 h ranu /trunk/ lead repo done  
35506 201 d 20 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/shopify/services/ Shopify Apis: Sync Products and Orders  
35505 201 d 21 h ranu /trunk/profitmandi-fofo/src/main/ today offer modal done  
35504 201 d 21 h vikas /trunk/ Shopify Apis: Sync Products and Orders  
35503 201 d 21 h vikas /trunk/ Shopify : Orders  
35502 201 d 21 h ranu /trunk/profitmandi-fofo/src/main/ today offer modal done  
35501 201 d 22 h ranu /trunk/ today offer modal done  
35500 202 d 16 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fix:Gst Validation  
35499 202 d 16 h aman /trunk/ Fix:Trial Activation Mail, All trial user page and gst validation  
35498 202 d 18 h ranu /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Laptop show on offer  
35497 202 d 19 h ranu /trunk/profitmandi-fofo/src/main/ Laptop show on offer  
35496 202 d 22 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ given laptop in category  
35495 207 d 11 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fresh money allowance feature for B2B orders with overdue loans

- SDCreditServiceImpl: Added validateOverdueLoans() to check if partner can place order
- SDCreditServiceImpl: Added getAvailableFreshMoney() to calculate same-day fresh money
- SDCreditServiceImpl: Partners with overdue loans can now place orders using fresh money added same day
- OrderRepository: Added selectTodayOrdersExcludingRefund() for fresh money calculation
- UserWalletHistoryRepository: Added methods to get today's payments and refunds

Logic: Fresh money = (Today's PAYMENT_GATEWAY + AUTOMATED_ADVANCE deposits) - (Today's orders excluding refunded) + (Today's refunds)
 
35494 207 d 11 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
 

Show All