| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 35568 |
11 h 25 m |
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> |
|
| 35567 |
11 h 25 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
Ticket system improvements: working days service and batch queries
- Add WorkingDaysService for centralized working days calculation
- Excludes Sundays and public holidays from database
- Saturdays are counted as working days
- Methods: isWorkingDay, countWorkingDays, addWorkingDays, isDeadlineExceeded
- Add new escalation constants in Ticket.java (L2=3, L3=3, Final=2 working days)
- Add selectByIds batch query to TicketAssignedRepository to eliminate N+1 queries
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
|
| 35566 |
1 d 7 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
recording service updated |
|
| 35565 |
2 d 2 h |
vikas |
/trunk/WarehouseService/ |
Replace defunct onejar-maven-plugin with maven-shade-plugin
The onejar-maven-plugin from Google Code repository is no longer available.
Replaced with maven-shade-plugin 3.2.4 which provides equivalent functionality
for creating executable uber-jars. |
|
| 35564 |
2 d 3 h |
amit |
/trunk/ |
Fix getItemAvailabilityAtLocation method calls - add missing third parameter (stateId)
The method signature requires 3 parameters (itemId, sourceId, stateId) but was being called with only 2.
Added -1 as the third parameter to match other working usages in the codebase. |
|
| 35563 |
2 d 5 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ |
tickets updated |
|
| 35562 |
2 d 5 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ |
tickets updated |
|
| 35561 |
2 d 6 h |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
ui updated of dashboard |
|
| 35560 |
2 d 6 h |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
bulletin updated on dashboard and give access category department |
|
| 35559 |
2 d 7 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/scheme/ |
Fixed SchemeService |
|
| 35558 |
2 d 7 h |
aman |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
Feat : Contact Us update |
|
| 35557 |
2 d 7 h |
vikas |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
Hide Oppo Diwali Offer from Dashboard |
|
| 35556 |
2 d 8 h |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/resources/js/ |
bulletin updated on dashboard and give access category department |
|
| 35555 |
2 d 8 h |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/resources/js/ |
bulletin updated on dashboard and give access category department |
|
| 35554 |
2 d 8 h |
ranu |
/trunk/profitmandi-fofo/src/main/ |
bulletin updated on dashboard and give access category department |
|
| 35553 |
2 d 8 h |
ranu |
/trunk/profitmandi-fofo/src/main/ |
bulletin updated on dashboard and give access category department |
|
| 35552 |
2 d 8 h |
ranu |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
bulletin updated on dashboard and give access category department |
|
| 35551 |
2 d 10 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ |
bulletin updated on dashboard and give access category department |
|
| 35550 |
2 d 10 h |
ranu |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/ |
bulletin updated on dashboard and give access category department |
|
| 35549 |
2 d 10 h |
ranu |
/trunk/ |
bulletin updated on dashboard and give access category department |
|