Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37168 15 d 0 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/user/ Simplify onboarding GST guard: same-GST siblings allowed (parallel outlets are normal); block only when a non-internal sibling is in limbo (activation_type REVIVAL, or active=0 with closed=0); drop allowAdditionalOutlet override  
37156 15 d 20 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Partner identity integrity: fork guard + closed-store takeover in updateRetailerDetails (new code only after old store closed, reuse real email/login), idempotent user_accounts upsert replacing blind inserts, selectAllOpenByGstNumber lookup, @Transactional on updateRetailerDetails  
37151 17 d 19 h aman /trunk/ Fix 'Mobile already exist' on retailer save + store code not linking to onboarding panel. (1) RetailerServiceImpl: extract linkStoreCodeToOnboardingPanel and call it for EXISTING stores too, so re-saving Retailer Details heals a panel missing its code (never overwrites, requires verification YES, best-effort). (2) retailer-details form now identifies the partner by the server-rendered loadedUserEmail hidden field instead of the editable email input, so editing email/mobile updates the loaded account instead of tripping the duplicate-mobile check. Bump js version to 384. Case: onboarding 1929 / UKDH1623.  
37102 28 d 21 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Remove dead Counter/PrivateDealUser code: drop unused isFofo, bulkShipmentAmountLimit, verifiedOn, documentVerified fields and accessors; remove dead selectByIds repo methods; drop redundant Counter/PrivateDealUser repository injections in OrderServiceImpl and InvoiceService  
36439 105 d 0 h amit /trunk/profitmandi-dao/src/main/ Add outlet_name field to FofoStore entity, set from address.name on store creation

Adds outlet_name (VARCHAR 255) to FofoStore entity so the store's display
name is persisted directly on fofo_store instead of requiring a join through
retailer_registered_address -> address every time it is needed.

Sets fofoStore.setOutletName(retailerAddress.getName()) in both creation
paths: RetailerServiceImpl.createFofoStoreCodeByRetailerId (primary) and
RetailerController.createFofoStore (secondary).

Includes migration SQL script (migration_outlet_name_to_fofo_store.sql) to
ALTER TABLE and backfill existing rows from address.name. Must be run during
low-traffic window - fofo_store is heavily queried and ALTER takes a metadata
lock that blocks all concurrent SELECTs.
 
36064 141 d 16 h aman /trunk/ Fix:FULL_Stock flow , fin service mark unapplicable ,send invoice to whatsapp by default, update contact list ,Training mail issue  
35971 157 d 17 h aman /trunk/ Feat : Loi 2.0 Enhancement and redesigning  
35956 159 d 23 h amit /trunk/profitmandi-dao/src/main/ Mail outbox pattern: persist mail in transaction, send async after commit. Fixes lock contention between /cancelOrder and /om/addBillingDetailsForGrouppedOrders caused by SMTP calls inside transactions holding DB locks.  
35896 165 d 14 h amit /trunk/profitmandi-dao/src/main/ Simplify partner GST: read/write from fofo_store.gst_number instead of Counter chain

- Set fofo_store.gst_number when store code is created/updated in RetailerServiceImpl
- Replace PrivateDealUser->Counter->gstin reads with FofoStore.getGstNumber() in:
RetailerServiceImpl, OrderServiceImpl, InvoiceService
- Remove unnecessary PrivateDealUser/Counter batch fetches in getFofoRetailers/getFofoRetailerUserId
- Add migration script to backfill existing GST from counter to fofo_store
 
35440 237 d 17 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ Optimize getCatalog() and getFofoRetailers() - fix N+1 queries with batch fetching

- getCatalog(): Batch fetch Items and TagListings instead of per-item queries
- getFofoRetailers(): Already optimized with batch fetching for FofoStores, PrivateDealUsers, Counters

🤖 Generated with Claude Code
 
35425 238 d 16 h aman /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fix:Trial Mail For training and activation mail to user  
35418 238 d 23 h aman /trunk/ Fix:Trial Mail For training and activation mail to user  
35394 240 d 10 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Improved performance  
35372 246 d 16 h aman /trunk/ Fix:Store Code Creation for trial user  
35370 246 d 19 h aman /trunk/ DEBUG:add debugger for trialform  
35360 247 d 17 h aman /trunk/ Feat:Approval page for sales team  
35306 266 d 18 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/user/ Fixed bug related to trial form  
35289 272 d 2 h amit /trunk/ Added trial franchisee feature  
35203 302 d 19 h amit /trunk/ Added Brands Logic  
34942 345 d 0 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/user/ Retailer Service  
34936 345 d 18 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/user/ Update  
34813 388 d 18 h aman /trunk/ Partner Dashboard Analysis  
34619 442 d 16 h ranu /trunk/ blocked loan settlement remove from scheduletask cron  
34149 569 d 19 h tejus.lohani /trunk/ New panel for partner Brand commitments , add commitment , update commitment and view partner commitments, Now in DMS code panel team only view commitment instead of update mean it read only  
33553 765 d 22 h ranu /trunk/ aria territory added in duedate cross and default partner  
33367 822 d 22 h ranu /trunk/ fix webOffer layout and fix online order change by pincode  
33247 845 d 22 h ranu /trunk/ warehouse billing phase one and added signature exception  
33140 875 d 18 h ranu /trunk/ fix fofo store duplicate mobile number errror  
33131 875 d 22 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/user/ code updated area territory info  
33128 876 d 0 h amit.gupta /trunk/ Fixed AST Related changes  
33124 877 d 20 h ranu /trunk/ area territory for fofo store(phase one)  
33030 896 d 23 h amit.gupta /trunk/ Fixed offers  
33025 897 d 15 h amit.gupta /trunk/ Fixed notifications logic in case of state specific  
32968 911 d 18 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/user/ Fixed changes  
32967 911 d 18 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/user/ Fixed changes  
32966 911 d 18 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/user/ Fixed changes  
32965 911 d 19 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/user/ Fixed changes  
32953 913 d 0 h amit.gupta /trunk/ Handled dtrUser email/mobile cant be duplicated  
32889 932 d 0 h shampa /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ inactive promoter  
32737 972 d 21 h amit.gupta /trunk/ Added Logic for Click2Call