| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 37858 |
17 h 9 m |
ranu |
/trunk/ |
remove tarun sir email from some storetimline tat email |
|
| 37845 |
1 d 15 h |
amit |
/trunk/profitmandi-dao/src/ |
feat(warehouse): ACTIVE/SUSPENDED/INACTIVE status + label on sellerwarehouse replace WAREHOUSE_MAP - BillingWarehouseService (active for dashboards, active+suspended for warehouse screens, names in every state, 5 min cache); setup service: guarded status change (no suspend while franchise stores or brand mapping route there, no close while stock/unshipped orders), rename, all-warehouse overview with usage; partner store assignable only to an active warehouse; daily stock alert for suspended/inactive warehouses to logistics/accounts top 2 staffed levels + leadership; dashboard warehouse list = active (replaces r37834 stock-holding loop); migration sellerwarehouse_status_display_name_20261005.sql (applied on hadb1) |
|
| 37586 |
25 d 18 h |
ranu |
/trunk/ |
drr view modification |
|
| 37533 |
33 d 9 h |
ranu |
/trunk/ |
loi process added, revival and code changes process |
|
| 37519 |
34 d 15 h |
ranu |
/trunk/ |
rbm drr dashboard position wise data |
|
| 37505 |
35 d 16 h |
ranu |
/trunk/ |
rbm drr dashboard , all today po rbm view maped |
|
| 37497 |
35 d 18 h |
ranu |
/trunk/ |
rbm drr dashboard , all today po rbm view maped |
|
| 37487 |
36 d 15 h |
ranu |
/trunk/ |
rbm drr dashboard , all today po rbm view maped |
|
| 37460 |
38 d 18 h |
ranu |
/trunk/ |
rbm drr dashboard new ui looks |
|
| 37442 |
40 d 17 h |
ranu |
/trunk/ |
rbm drr dashboard new ui looks |
|
| 37145 |
71 d 22 h |
ranu |
/trunk/ |
level l1 to l9 commited |
|
| 37022 |
91 d 22 h |
ranu |
/trunk/ |
targeted calling count on today po rbm |
|
| 37013 |
92 d 19 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
tried call given on rbm dashboard |
|
| 37012 |
92 d 21 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
tried call given on rbm dashboard |
|
| 37011 |
94 d 17 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
tried call given on rbm dashboard |
|
| 37010 |
94 d 19 h |
ranu |
/trunk/ |
tried call given on rbm dashboard |
|
| 36998 |
96 d 17 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
rbm calling target issue fix according to aquil |
|
| 36997 |
96 d 19 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
rbm calling target issue fix according to aquil |
|
| 36996 |
96 d 19 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
rbm calling target issue fix according to aquil |
|
| 36994 |
96 d 20 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
rbm calling target issue fix according to aquil |
|
| 36883 |
108 d 20 h |
ranu |
/trunk/ |
calling target given |
|
| 36596 |
140 d 18 h |
ranu |
/trunk/ |
row dump of target |
|
| 36359 |
167 d 16 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
rbm rating dashboard view commited |
|
| 36334 |
168 d 16 h |
ranu |
/trunk/ |
rbm rating dashboard view commited |
|
| 36333 |
168 d 16 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
Fix IllegalStateException: drop 'unless' when using @Cacheable(sync=true)
Spring Cache rejects @Cacheable with both sync=true AND an 'unless' attribute,
throwing IllegalStateException on every invocation. Surfaced in production log
on smartdukaan — MonitorController.todayPORBM:739 was returning 500 on 40
observed calls this session.
Dropped 'unless'. Caching an occasionally-empty List for 5 min is harmless:
months with no sales produce an empty result, which is cheaper to re-query
after 5 min than to keep special-casing. The real fix driver for sync=true
(stampede protection) is preserved. |
|
| 36329 |
168 d 18 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
Tune rbmWeeklyBilling cache: 2m→5m TTL + sync=true
The RBM weekly billing aggregate query takes ~2s per call (1,924 cumulative hits
on hadb1 = 3,800s DB time). Previously cached for only 2 minutes with no
stampede protection — every 2m window, every concurrent dashboard load ran the
aggregate in parallel and burnt Hikari slots simultaneously.
- 2m → 5m: this is month-level aggregate bucketed by week, doesn't need
sub-minute freshness for an RBM dashboard.
- sync=true: single in-JVM computation per (monthStart, monthEnd) key per
expiry window; concurrent misses wait for the in-flight load instead of
racing to the DB.
fiveMintimeoutCacheManager already exists in CacheConfig:73 (Caffeine, in-memory,
so no Redis/LocalDateTime serialization concerns). |
|
| 36296 |
172 d 19 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
Add 2-min cache on dashboard-family queries
Three queries dominate dashboard DB time (~830 s / 30 min combined) because
they re-execute on every dashboard refresh with near-identical parameters:
- OrderRepositoryImpl.selectPartnersBilledBetweenDates: dynamic endDate is
LocalDateTime.now(), so cache key bucketed to 2-minute boundaries via SpEL
(endDate.toEpochSecond / 120) so calls in the same bucket share an entry.
- UserWalletRepositoryImpl.getPartnerWiseCollectionAchievement and
RbmTargetServiceImpl.getWeeklyBillingDataForMonth: default Spring key
(fofoIds + startDate) is stable, no bucketing needed.
All three use the existing Caffeine 'twoMintimeoutCacheManager' (in-memory,
per-JVM, expireAfterWrite=2min). unless clause skips caching empty results
so legitimately-empty responses don't pin a bad entry. |
|
| 36284 |
173 d 14 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
code optimization of today po rbm page |
|
| 36276 |
174 d 17 h |
ranu |
/trunk/ |
unique call and recording will show on dashboard |
|
| 36234 |
179 d 22 h |
ranu |
/trunk/ |
back date data ..........dashboard display on calling |
|
| 36229 |
181 d 15 h |
ranu |
/trunk/ |
rbm l1,l2,l3 layer introduce |
|
| 36228 |
181 d 16 h |
ranu |
/trunk/ |
rbm l1,l2,l3 layer introduce |
|
| 36225 |
181 d 16 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
rbm l1,l2,l3 layer introduce |
|
| 36212 |
182 d 15 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
rbm l1,l2,l3 layer introduce |
|
| 36210 |
182 d 16 h |
ranu |
/trunk/ |
rbm l1,l2,l3 layer introduce |
|
| 36181 |
186 d 16 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
weekly rating system live on calling module |
|
| 35852 |
223 d 14 h |
ranu |
/trunk/ |
call data download |
|
| 35843 |
224 d 12 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
called will come from agent call log instead of remark |
|
| 35822 |
227 d 17 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
show all caleed by auth user |
|
| 35821 |
227 d 18 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
show all caleed by auth user |
|