Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36439 13 d 4 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.
 
36242 33 d 21 h aman /trunk/ Fix:Attachment is Full-stock payment approval ,Timeline ui graphical summary, wod initianl mail after store code creation  
35961 68 d 3 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/fofo/ Add closed state to FofoStore - permanent store closure with store code confirmation. Closed stores cannot be reactivated.  
35848 78 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  
35463 144 d 12 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ Optimize /getMobileBrandWise and /getMobileLMSGraph queries

- Replace concat(year(), month()) pattern with date range comparisons
- Enables index usage on create_timestamp and activation_timestamp columns
- Update repository methods to pass date range parameters instead of string patterns
 
35323 169 d 1 h amit /trunk/ Fixed changes regarding to FofoStore having expired field now ignored  
35301 175 d 22 h amit /trunk/ Fixed minimum investment logic  
35297 176 d 22 h amit /trunk/ Added logic to handle retailer  
35289 180 d 7 h amit /trunk/ Added trial franchisee feature  
35284 181 d 15 h aman /trunk/ Fix:Monthly acceories sale  
35079 230 d 4 h vikas /trunk/ Live Tracking and Shopify Products List Sync  
33124 786 d 1 h ranu /trunk/ area territory for fofo store(phase one)  
32615 917 d 23 h raveendra.bharati /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Ensured that new store code will always have next code number  
32308 1011 d 19 h amit.gupta /trunk/ Added  
31730 1152 d 22 h tejbeer /trunk/ change  
31682 1164 d 23 h amit.gupta /trunk/ Added Not Yet billed  
31681 1164 d 23 h amit.gupta /trunk/ Added Not Yet Billed State  
30279 1497 d 22 h tejbeer /trunk/ change  
30121 1531 d 0 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fixed scheme issue  
30046 1545 d 20 h tejbeer /trunk/ change  
29936 1563 d 22 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/fofo/ Added changes related to price change  
29926 1567 d 23 h amit.gupta /trunk/ Added changes related to price change  
29518 1658 d 20 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/fofo/  
29497 1659 d 3 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/  
28825 1744 d 7 h tejbeer /trunk/ change  
28709 1756 d 21 h amit.gupta /trunk/ change  
28451 1804 d 22 h tejbeer /trunk/ change  
28166 1863 d 23 h tejbeer /trunk/ chnage  
27903 1896 d 23 h tejbeer /trunk/ chnage  
27701 1935 d 0 h tejbeer /trunk/ chnage  
27676 1939 d 22 h tejbeer /trunk/ change  
27670 1939 d 23 h tejbeer /trunk/ change  
27599 1953 d 5 h tejbeer /trunk/ change  
27594 1954 d 5 h tejbeer /trunk/ change  
27592 1954 d 22 h tejbeer /trunk/  
27591 1955 d 0 h tejbeer /trunk/ change  
27589 1955 d 5 h tejbeer /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/fofo/  
27588 1955 d 20 h tejbeer /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/fofo/ change  
27574 1957 d 23 h tejbeer /trunk/ change  
27556 1960 d 0 h tejbeer /trunk/ change