Rev 37356 |
Last modification |
Compare with Previous |
View Log
| RSS feed
Last modification
- Rev 37357 2026-08-19 18:01:36
- Author: amit
- Log message:
- Add CsService.getAuthUsersByPartnerIdAndCategory for partner+category+escalation lookup
sendMailForActionOnDispatch mailed every L1 position on the partner, which on live data
means the DESIGN (17), SALES (4) and WAREHOUSE (11) owners as well as the RBM (18). It
also hand-rolled the partner_position -> position -> auth_user walk against repositories.
Add a single reusable resolver on CsService: active auth users holding one position
category against a partner, optionally narrowed to escalation levels. It follows the
house resolver shape - the partner's own regions plus ALL_PARTNERS_REGION, partner_id in
(0, fofoId) - so region-wide mappings are honoured, and it short-circuits on empty id
lists because selectByIds builds an IN () predicate that breaks on an empty list.
The call site in TransactionServiceImpl went in with r37356; without this commit trunk
does not compile.