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
36340 88 d 16 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/warehouse/ Narrow downloadInvoice: release JDBC before PDF streaming + clean error codes

OrderManagementController has class-level @Transactional(rollbackFor=Throwable),
so every downloadInvoice request held a Hikari connection for the entire HTTP
response duration — including the PDF streaming phase over a user's (often
slow) mobile network. The endpoint is the #1 JDBC-slot holder in production.

- Method-level @Transactional(propagation = NOT_SUPPORTED) suspends the
class-level tx for this endpoint so no connection is held by default.
- A short read-only TransactionTemplate scopes the single SELECT (order lookup
by invoice number) inside its own tx. Connection returns to the pool as soon
as the SELECT commits; file streaming then runs without any JDBC session.
- Bounds-check orders.isEmpty() — 2 IndexOutOfBoundsException per log window
previously, now a clean 404 with message body.
- Invoice-not-yet-generated stops surfacing as a 500 with stack trace
(1,534 occurrences in yesterday's log = #1 noise source). Now a 404 with
'please retry shortly' JSON body. Saves log disk and error-budget.
 
36334 89 d 10 h ranu /trunk/ rbm rating dashboard view commited  
36325 89 d 15 h aman /trunk/profitmandi-fofo/src/main/ Fix: Tier-Based Referral Payout  
36316 90 d 9 h aman /trunk/ Fix:Migrate legacy Purchase Return flow (Report + Bulk Create + Debit Notes) into FOFO  
36315 90 d 13 h ranu /trunk/ rbm rating dashboard view commited  
36312 90 d 20 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/monitors/ rbm rating dashboard view commited  
36307 91 d 10 h ranu /trunk/profitmandi-fofo/src/main/ rbm rating dashboard view commited  
36299 93 d 12 h amit /trunk/profitmandi-fofo/src/main/ GRN correction: surface autoApproved flag to UI

Controller returns {status, autoApproved} JSON; JS shows an
'auto-approved' message when the request bypasses approval, otherwise
the existing 'raised for approval' message. Pairs with dao r36298.
 
36297 93 d 13 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/monitors/ Fix MonitorController autowiring after @Cacheable proxy

UserWalletRepositoryImpl now has @Cacheable (r36296), which makes Spring
wrap it in a JDK interface proxy. MonitorController autowired the concrete
class, breaking startup with BeanNotOfRequiredTypeException. Switch to the
interface UserWalletRepository, matching every other repository injection
in the file.
 
36268 96 d 12 h ranu /trunk/profitmandi-fofo/src/main/ escaltions updated on dashboard detail  
36266 96 d 12 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix NPE in PlacementPlanController when warehouse has no saholic stock data  
36242 100 d 8 h aman /trunk/ Fix:Attachment is Full-stock payment approval ,Timeline ui graphical summary, wod initianl mail after store code creation  
36235 100 d 13 h ranu /trunk/profitmandi-fofo/src/main/ back date data ..........dashboard display on calling  
36234 100 d 16 h ranu /trunk/ back date data ..........dashboard display on calling  
36232 100 d 17 h vikas /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix: Training store timeline entry for dashboard  
36231 101 d 10 h ranu /trunk/profitmandi-fofo/src/main/ any rbm can see activity his partner ticket  
36226 102 d 10 h aman /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix: Prefill in not working in wod request panel  
36217 103 d 8 h vikas /trunk/profitmandi-fofo/src/main/ Purchase Sale Panel: Export Report  
36198 104 d 9 h amit /trunk/profitmandi-fofo/src/main/ Add Download All CN summary report for FOFO_ADMIN: bulk CSV with partner details, IRN, ack date per month  
36190 104 d 15 h ranu /trunk/ agent insights tracking  

Show All