| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 36503 |
5 d 17 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ |
Add --genDNsForCNs CLI arg for explicit cancelled CN debit note generation
- Wire genDNsForCNs(List<String>) in ScheduledTasks and Application
- Accepts comma-separated CN numbers: --genDNsForCNs=CN-NSPRJ5033,CN-NSLCK4326 |
|
| 36476 |
8 d 19 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ |
Remove CLI entry points and ScheduledTasks methods for reissue/recover/resendCN (removed from CreditNoteService in r36475) |
|
| 36473 |
9 d 16 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Added Rising Star/NEW |
|
| 36472 |
9 d 17 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Added Rising Star/NEW |
|
| 36463 |
10 d 2 h |
ranu |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
mail out box queue added in default loans |
|
| 36462 |
10 d 2 h |
ranu |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
mail out box queue added in default loans |
|
| 36461 |
10 d 2 h |
ranu |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
mail out box queue added in default loans |
|
| 36460 |
10 d 2 h |
ranu |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
mail out box queue added in default loans |
|
| 36459 |
10 d 2 h |
ranu |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
mail out box queue added in default loans |
|
| 36458 |
10 d 3 h |
ranu |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
mail out box queue added in default loans |
|
| 36457 |
10 d 3 h |
ranu |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
mail out box queue added in default loans |
|
| 36430 |
14 d 17 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Add fixStuckLimitBlocks remediation for stuck limit_block=1 loans (Apr 27-29). Calls createLoanForBilling per invoice for each stuck limit block, creating actual loans and settling blocked limits. Validated locally: 59 fixes, 0 failures, all wallets net to zero. |
|
| 36420 |
15 d 21 h |
amit |
/trunk/profitmandi-cron/ |
OkHttp→RestClient migration for IMEI activation services (Itel, Tecno, Vivo). Added test deps. Updated RunOnceTasks, ScheduledTasks, OrderTrackingService. |
|
| 36402 |
17 d 0 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ |
Replace mailSender (SendGrid) with gmailRelaySender - SendGrid API key expired/revoked |
|
| 36303 |
26 d 21 h |
aman |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Feat:Separate partner name and code into different columns in Partner Credit Report |
|
| 36289 |
27 d 3 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
hadb1 perf: add SD_CREDIT_LOCK to prevent deadlock on sd_credit_requirement, sort updatePartnerLimit by fofoId |
|
| 36269 |
29 d 23 h |
ranu |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
consolidate email sent of l3 escaltion |
|
| 36253 |
32 d 5 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Separate secondary/tertiary IMEI activation crons for Vivo/Oppo/Realme, perf fixes: shared saveActivation, Response leak fixes, /tmp cleanup, OpenCV static init, early break, remove class-level @Transactional from StandAlone |
|
| 36220 |
36 d 3 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ |
Cron: add --genDNs CLI arg for monthly debit note generation. Use SDCreditServiceImpl.computeInterestStartDate for daily interest accrual (single source of truth, fixes off-by-one that delayed accrual by 1 day). |
|
| 36197 |
37 d 20 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ |
Add --recoverCreditNote and --resendCNReport CLI args for credit note recovery and report resend |
|
| 36188 |
40 d 0 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ |
Revert rerenderCNs CLI option - downloadCN already re-renders on the fly |
|
| 36187 |
40 d 1 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ |
Add --rerenderCNs CLI option to re-generate old CN PDFs with new format |
|
| 36046 |
51 d 20 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Clean up DC regeneration: revert to saveInvoice, remove debug logging |
|
| 36043 |
51 d 21 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Debug DC invoice regeneration: bypass saveInvoice, log title, print stack trace on failure |
|
| 36042 |
51 d 21 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Fix app config |
|
| 36039 |
51 d 23 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Add one-off task to regenerate 7 DC invoices for seller 13 with correct Delivery Challan title |
|
| 36034 |
52 d 2 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Removed cron optimized logic for smartdukaan |
|
| 35959 |
68 d 3 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Migrate SMTP calls to mailOutboxService in cron - mail outbox pattern |
|
| 35929 |
72 d 14 h |
vikas |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ |
Update Existing Shopify Product |
|
| 35928 |
72 d 14 h |
vikas |
/trunk/ |
Update Existing Shopify Product |
|
| 35915 |
73 d 3 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Notifications: use loan-level overdue/penalty rates instead of global constants |
|
| 35877 |
75 d 21 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Credit cron fixes: correct interest rates in notifications, show total+bifurcation in messages, fix internal email text, filter limit blocks, limit WhatsApp to 2 per run, replace N+1 loan statement queries with loan fields, use selectAllBlockedLoans for fixBlockedCredit. |
|
| 35866 |
76 d 2 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Use Loan::isLimit instead of freeDays >= 365 in fixBlockedCredit |
|
| 35848 |
78 d 0 h |
amit |
/trunk/ |
Refactor investment logic to use own investment (total - utilized), remove minimumInvestmentOld, add OK_INVESTMENT_SHORT_PERCENTAGE constant, update thresholds CUTOFF_INVESTMENT=10 MIN_INVESTMENT_PERCENTAGE=5 |
|
| 35811 |
82 d 16 h |
amit |
/trunk/ |
Centralize credit/loan summary: CreditSummary DTO, bulk query, fix stale utilization, re-enable overdue check, fix interestPaid bug, optimize fresh money (3 queries vs 21), remove dead code |
|
| 35803 |
83 d 20 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ |
Support WebApplicationType.NONE for non-web cron runs, add sendCreditNote log line |
|
| 35788 |
84 d 22 h |
vikas |
/trunk/ |
Schedule Shopify Product Sync |
|
| 35666 |
97 d 0 h |
vikas |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Fetch PineLabs Offers Daily by Items |
|
| 35591 |
107 d 2 h |
aman |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Fix:Remove Account team from default partner and partner credit report and only send to neeraj sir |
|
| 35568 |
117 d 3 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> |
|