| Line 910... |
Line 910... |
| 910 |
customRetailer.setBusinessName(address.getName());
|
910 |
customRetailer.setBusinessName(address.getName());
|
| 911 |
customRetailer.setMobileNumber(address.getPhoneNumber());
|
911 |
customRetailer.setMobileNumber(address.getPhoneNumber());
|
| 912 |
try {
|
912 |
try {
|
| 913 |
FofoStore fs = fofoStoreRepository.selectByRetailerId(address.getRetaierId());
|
913 |
FofoStore fs = fofoStoreRepository.selectByRetailerId(address.getRetaierId());
|
| 914 |
customRetailer.setCode(fs.getCode());
|
914 |
customRetailer.setCode(fs.getCode());
|
| - |
|
915 |
customRetailer.setActivationType(fs.getActivationType());
|
| 915 |
customRetailer.setCounterSize(fs.getCounterSize());
|
916 |
customRetailer.setCounterSize(fs.getCounterSize());
|
| 916 |
|
917 |
|
| 917 |
customRetailer.setWarehouseId(fs.getWarehouseId());
|
918 |
customRetailer.setWarehouseId(fs.getWarehouseId());
|
| 918 |
customRetailer.setPartnerId(fs.getId());
|
919 |
customRetailer.setPartnerId(fs.getId());
|
| 919 |
customRetailer.setFofoType(fs.getFofoType());
|
920 |
customRetailer.setFofoType(fs.getFofoType());
|
| Line 978... |
Line 979... |
| 978 |
address1.setName(address.getName());
|
979 |
address1.setName(address.getName());
|
| 979 |
customRetailer.setDisplayName(address.getName() + " - " + address.getCity());
|
980 |
customRetailer.setDisplayName(address.getName() + " - " + address.getCity());
|
| 980 |
customRetailer.setAddress(address1);
|
981 |
customRetailer.setAddress(address1);
|
| 981 |
customRetailer.setPartnerId(address.getRetaierId());
|
982 |
customRetailer.setPartnerId(address.getRetaierId());
|
| 982 |
customRetailer.setCode(store.getCode());
|
983 |
customRetailer.setCode(store.getCode());
|
| - |
|
984 |
customRetailer.setActivationType(store.getActivationType());
|
| 983 |
customRetailer.setWarehouseId(store.getWarehouseId());
|
985 |
customRetailer.setWarehouseId(store.getWarehouseId());
|
| 984 |
customRetailersMap.put(address.getRetaierId(), customRetailer);
|
986 |
customRetailersMap.put(address.getRetaierId(), customRetailer);
|
| 985 |
return customRetailer;
|
987 |
return customRetailer;
|
| 986 |
|
988 |
|
| 987 |
}
|
989 |
}
|