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 1 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 3 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added migration for 2 parties for gold  
35524 11 d 20 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added migration for 2 parties for gold  
35521 11 d 20 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added migration for 2 parties for gold  
35520 11 d 21 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fixed method Number to comma for Cr. Values  
35393 32 d 12 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fixed MongoDB close method  
35277 66 d 20 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Migrations  
35276 66 d 20 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Migrations  
35267 68 d 21 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ without invoice cancel request  
35266 68 d 21 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ without invoice cancel request  
35250 78 d 19 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Migrations  
35165 100 d 21 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fixed system.exit(0)  
34946 136 d 23 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ abm sender  
34945 136 d 23 h ranu /trunk/ abm sender  
34879 159 d 19 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ razor pay x commit code of sending mail to neeraj gupta  
34860 164 d 18 h ranu /trunk/ razorpay x automate payment with rabbit mq  
34845 169 d 19 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ logger added  
34836 170 d 17 h vikas /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Employee task wise report scheduled at 04:00 PM, 09:00 PM  
34770 192 d 17 h vikas.jangra /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Employee task wise report  
34710 206 d 0 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added Credit Related changes  

Show All