Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35568 1 d 13 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Refactor ticket scheduled tasks: fix bugs, add test mode, improve performance

Bug fixes:
- Remove break statement in alertforTicket that stopped after first user
- Remove duplicate ticketClosed() method (used 7 calendar days vs 8 working days)
- Update Application.java CLI handler to use refactored escalateTicket()

New features:
- Add email test mode: redirect all emails to tester via config
- ticket.email.testMode.enabled=true/false
- ticket.email.testMode.recipient=tester@email.com
- Add configurable auto-escalation: ticket.autoEscalation.enabled
- Working days calculation using WorkingDaysService (excludes Sun + holidays)

Performance improvements:
- Batch fetch ticketSubCategoryMap once per job, not per email
- All repository calls moved outside loops (N+1 query fix)

Escalation thresholds updated:
- L1 -> L2: 3 working days
- L2 -> L3: 3 working days
- L3 -> Final: 2 working days

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
 
35532 11 d 15 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added migration for 2 parties for gold  
35524 12 d 8 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added migration for 2 parties for gold  
35521 12 d 9 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added migration for 2 parties for gold  
35520 12 d 9 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fixed method Number to comma for Cr. Values  
35393 33 d 0 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fixed MongoDB close method  
35277 67 d 8 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Migrations  
35276 67 d 8 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Migrations  
35267 69 d 9 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ without invoice cancel request  
35266 69 d 9 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ without invoice cancel request  
35250 79 d 7 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Migrations  
35165 101 d 9 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fixed system.exit(0)  
34946 137 d 11 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ abm sender  
34945 137 d 12 h ranu /trunk/ abm sender  
34879 160 d 7 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ razor pay x commit code of sending mail to neeraj gupta  
34860 165 d 6 h ranu /trunk/ razorpay x automate payment with rabbit mq  
34845 170 d 8 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ logger added  
34836 171 d 6 h vikas /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Employee task wise report scheduled at 04:00 PM, 09:00 PM  
34770 193 d 5 h vikas.jangra /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Employee task wise report  
34710 206 d 12 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added Credit Related changes  

Show All