Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36399 17 d 2 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Replace mailSender (SendGrid) with gmailRelaySender - SendGrid API key expired/revoked  
36212 36 d 21 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ rbm l1,l2,l3 layer introduce  
36210 36 d 23 h ranu /trunk/ rbm l1,l2,l3 layer introduce  
35963 68 d 3 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Migrate mail sending to MailOutboxService (CsService, BidService, OtpProcessor, StoreTimelineTat); add date range query for TransactionApproval  
35920 73 d 1 h ranu /trunk/ now inactive partners also showing on target page  
35683 95 d 23 h ranu /trunk/ web deploye for active category  
35647 100 d 21 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ call target related changes  
35639 103 d 0 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ Skip escalations in ticket overview Message column, compact escalation styling in detail dialog

- Add getLastMessageActivitiesForTickets to CsService to fetch most recent
communication activity (COMMUNICATION_IN/OUT/INTERNAL, OPENED) per ticket
- Ticket overview Message column now shows last communication, not escalation
- Ticket detail dialog renders escalation activities (ESCALATED, ASSIGNED,
CATEGORY_CHANGED, ESCALATED_FINAL) as compact centered system messages
instead of chat bubbles
 
35635 103 d 3 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ code commit for calling target  
35631 103 d 4 h ranu /trunk/ code commit for calling target  
35626 103 d 23 h amit /trunk/ Ticket system: add unread tracking, pagination, search, and partner notifications  
35592 107 d 3 h amit /trunk/ Ticket system improvements: N+1 query fixes, authorization checks, CRM access, UI fixes

- Fix N+1 queries in getSubCategoryIdAndCategoryMap and getAuthUserAndEsclationByPartnerId
- Add authorization checks to ticket endpoints (getActivities, closeTicket, createActivity, editTicket, editPartnerTicket, createLastActivity)
- CRM users can now see all tickets to handle partner communications
- Only CRM team members can mark tickets as resolved
- Fix duplicate HTML IDs in ticket templates (changed to classes)
- Fix getSubCategoryId() bug in edit-ticket modals
- Add message field to create-ticket form
- Update cs.js to use class selectors
 
35563 118 d 23 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ tickets updated  
35562 118 d 23 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ tickets updated  
35454 145 d 1 h amit /trunk/ perf: Optimize N+1 queries and reduce stream iterations in today_po and today_po_rbm endpoints

MonitorController.java:
- Consolidate 12 stream ops on rbmArrViewModels into single loop
- Consolidate 6 stream ops on sold15daysOldAgingModels into single loop
- Consolidate 6 stream ops on weeklyBillingData into single loop
- Merge double iteration loops into single pass operations
- Replace containsKey+get patterns with computeIfAbsent/getOrDefault
- Add extractRbmNames() helper to eliminate duplicated stream operations

CsServiceImpl.java:
- Fix N+1 in getAuthUserIdAndAuthUserMap using batch selectByIds
- Fix N+1 in getTicketIdAndAuthUserMapUsingTickets using batch selectByIds
- Fix N+1 in getAuthUserIdAndAuthUserMapUsingPositions using batch selectByIds
- Fix N+1 in getCategoryIdAndCategoryUsingPositions using batch selectAll
- Fix N+1 in getRegionIdAndRegionMap using batch selectAll
- Fix N+1 in getAuthUserByPartnerId using batch selectByIds
- Fix double N+1 in getAuthUserAndEsclationTypeByPartnerId
- Fix N+1 in authUserpartnerIdMap using selectByPositionIds
- Fix N+1 in getAuthUserIdPartnerIdMappingByCatIds
- Fix N+1 in getAuthUserIdPartnerIdMapping

RbmTargetServiceImpl.java:
- Fix O(n*m) stream filter in getRbmTodayArr using pre-built lookup maps
- Fix O(n*m) stream filter in setMovementWiseRbmTargets using pre-built maps

today_po.vm:
- Optimize template lookups with single get instead of containsKey+get
 
35443 145 d 21 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ Optimize CsService methods - fix N+1 queries with batch fetching

- Add selectByPositionIds() batch method to PartnerPositionRepository
- getPositionCustomRetailerMap(): Batch fetch PartnerPositions and PartnerRegions
- getRegionPartners(): Batch fetch PartnerRegions upfront
- getAuthUserPartnerEmailMapping(): Batch fetch positions and AuthUsers
- getAuthUserPartnerIdMapping(): Batch fetch positions and AuthUsers

🤖 Generated with Claude Code
 
35394 148 d 15 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Improved performance  
35180 213 d 7 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ Added SD Credit Scheduler  
35058 233 d 3 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ Fixed issue reported by Shankar ji  
34921 258 d 19 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ changeList  
34905 261 d 4 h ranu /trunk/ abm adddes in roles  
34903 264 d 20 h ranu /trunk/ bi report chnage  
34380 405 d 4 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ Fixed  
34276 433 d 0 h ranu /trunk/ code commit for franchisee visit and rbm ratings  
34158 474 d 21 h tejus.lohani /trunk/ bug fix ,
1. Default partner mail saleL1 duplicate issue
2. Search order alert fix , specific field name instead of fix the error when field miss in update details form
 
34084 503 d 0 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ auth user partner map configuration  
34082 503 d 3 h ranu /trunk/ new auth user partner maping and upsell correction  
34077 506 d 1 h tejus.lohani /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ partner access bug fix , verification reject mail send to all managers of loiForm filler  
33965 539 d 1 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ ticket category trainning added on partner id map  
33870 577 d 0 h tejus.lohani /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ add catagory ,in posisation catagory  
33773 608 d 0 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ set l1,l2,l3,l4 for auth user direct ticket  
33588 665 d 21 h ranu /trunk/ tickect activity recordings some changes updated with kommuno  
33378 728 d 2 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ adjust party sales header in cs service  
33377 728 d 4 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ Fixed  
33244 754 d 3 h ranu /trunk/ add signature added profitmandi exception  
33204 763 d 4 h ranu /trunk/ attatch recording on tome of chat  
33161 777 d 4 h ranu /trunk/ added some additional info (as per arindam mukerji mail)  
33074 795 d 22 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ patch for  
33041 803 d 0 h ranu /trunk/ latest point done on ticket map project  
33022 805 d 22 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ Fixed share price