| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 36562 |
144 d 3 h |
amit |
/trunk/profitmandi-dao/src/main/ |
Flagship credit: date-wise model_flagship table, sale-time conversion with pessimistic locking, batch queries, extracted doConvertFlagshipToLoan helper, removed Catalog.isFlagship |
|
| 36560 |
144 d 4 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
Flagship credit: sale-time conversion with FOR UPDATE locking and performance optimizations
- convertFlagshipOnSale: partial conversion at billed price when retailer sells flagship stock
- hasActiveFlagshipLimits: cheap COUNT check to skip catalog lookup for non-flagship partners
- selectActiveFlagshipLimitBlocksForUpdate: pessimistic lock prevents double-conversion from concurrent sales/cron
- selectFlagshipLoansForConversion: added FOR UPDATE lock for cron expiry path
- Batch order fetch instead of per-limit queries
- Wired into OrderServiceImpl.createOrder after stock update |
|
| 36557 |
144 d 10 h |
amit |
/trunk/ |
feat: Flagship Credit - 30 interest-free days for flagship models with billing split, expiry conversion, API-driven T&C |
|
| 35955 |
214 d 4 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ |
Add increaseBlockedLimit for negative price drop: increase credit limit for SD Credit orders, fundWallet fallback for wallet orders |
|
| 35878 |
221 d 22 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ |
Remove duplicate getDefaultLoanWithoutLimit (alias of getDefaultLoans), consolidate fundWallet to use single code path |
|
| 35848 |
224 d 1 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 |
|
| 35823 |
228 d 0 h |
amit |
/trunk/ |
Allow overdue partners with fresh money to order via SD Credit on cart page |
|
| 35811 |
228 d 18 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 |
|
| 35394 |
294 d 15 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
Improved performance |
|
| 35316 |
316 d 20 h |
ranu |
/trunk/ |
loan data showing |
|
| 35295 |
324 d 2 h |
amit |
/trunk/ |
Added reset logic |
|
| 35157 |
363 d 3 h |
amit |
/trunk/ |
Fixed SD Credit HardLimit Check |
|
| 35145 |
364 d 22 h |
amit |
/trunk/ |
Now minimum investment is changed dynamically based on total investment and limit utilized for retailers whose credit is marked as hard limit. |
|
| 35131 |
365 d 22 h |
amit |
/trunk/ |
Fixed hardlimit Logic |
|
| 35110 |
368 d 1 h |
ranu |
/trunk/ |
due date cross added all active loan and change title this mail |
|
| 34731 |
465 d 21 h |
amit.gupta |
/trunk/ |
Fixed Loan Limit Releasing |
|
| 34727 |
466 d 3 h |
amit.gupta |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ |
config |
|
| 34661 |
482 d 5 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
sd Credit free days set 0 update method |
|
| 34453 |
532 d 21 h |
amit.gupta |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
Added Loan |
|
| 34312 |
568 d 1 h |
ranu |
/trunk/ |
code committed for loan maping |
|