| Line 7... |
Line 7... |
| 7 |
import com.spice.profitmandi.common.enumuration.FofoType;
|
7 |
import com.spice.profitmandi.common.enumuration.FofoType;
|
| 8 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
8 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 9 |
import com.spice.profitmandi.common.model.*;
|
9 |
import com.spice.profitmandi.common.model.*;
|
| 10 |
import com.spice.profitmandi.common.util.StringUtils;
|
10 |
import com.spice.profitmandi.common.util.StringUtils;
|
| 11 |
import com.spice.profitmandi.common.util.Utils;
|
11 |
import com.spice.profitmandi.common.util.Utils;
|
| - |
|
12 |
import com.spice.profitmandi.dao.entity.catalog.BrandCatalog;
|
| 12 |
import com.spice.profitmandi.dao.entity.dtr.*;
|
13 |
import com.spice.profitmandi.dao.entity.dtr.*;
|
| 13 |
import com.spice.profitmandi.dao.entity.dtr.User;
|
14 |
import com.spice.profitmandi.dao.entity.dtr.User;
|
| 14 |
import com.spice.profitmandi.dao.entity.fofo.*;
|
15 |
import com.spice.profitmandi.dao.entity.fofo.*;
|
| 15 |
import com.spice.profitmandi.dao.entity.inventory.State;
|
16 |
import com.spice.profitmandi.dao.entity.inventory.State;
|
| 16 |
import com.spice.profitmandi.dao.entity.logistics.AST;
|
17 |
import com.spice.profitmandi.dao.entity.logistics.AST;
|
| Line 28... |
Line 29... |
| 28 |
import com.spice.profitmandi.dao.repository.inventory.StateRepository;
|
29 |
import com.spice.profitmandi.dao.repository.inventory.StateRepository;
|
| 29 |
import com.spice.profitmandi.dao.repository.trialOnboarding.TrialFormRepository;
|
30 |
import com.spice.profitmandi.dao.repository.trialOnboarding.TrialFormRepository;
|
| 30 |
import com.spice.profitmandi.dao.repository.user.*;
|
31 |
import com.spice.profitmandi.dao.repository.user.*;
|
| 31 |
import com.spice.profitmandi.service.PostOfficeService;
|
32 |
import com.spice.profitmandi.service.PostOfficeService;
|
| 32 |
import com.spice.profitmandi.service.catalog.BrandsService;
|
33 |
import com.spice.profitmandi.service.catalog.BrandsService;
|
| 33 |
import com.spice.profitmandi.dao.entity.catalog.BrandCatalog;
|
- |
|
| 34 |
import com.spice.profitmandi.dao.entity.dtr.Brand;
|
- |
|
| 35 |
import in.shop2020.model.v1.user.CartStatus;
|
34 |
import in.shop2020.model.v1.user.CartStatus;
|
| 36 |
import org.apache.logging.log4j.LogManager;
|
35 |
import org.apache.logging.log4j.LogManager;
|
| 37 |
import org.apache.logging.log4j.Logger;
|
36 |
import org.apache.logging.log4j.Logger;
|
| 38 |
import org.springframework.beans.factory.annotation.Autowired;
|
37 |
import org.springframework.beans.factory.annotation.Autowired;
|
| 39 |
import org.springframework.beans.factory.annotation.Qualifier;
|
38 |
import org.springframework.beans.factory.annotation.Qualifier;
|
| Line 926... |
Line 925... |
| 926 |
pincodePartnerRepository.perist(pinPartner);
|
925 |
pincodePartnerRepository.perist(pinPartner);
|
| 927 |
}
|
926 |
}
|
| 928 |
}
|
927 |
}
|
| 929 |
|
928 |
|
| 930 |
if (fofoStore.isTrial()) {
|
929 |
if (fofoStore.isTrial()) {
|
| - |
|
930 |
|
| 931 |
storeTimelineTatService.sendTrialStoreCreationMail(fofoStore, updateRetailerRequest);
|
931 |
storeTimelineTatService.sendTrialStoreCreationMail(
|
| - |
|
932 |
fofoStore,
|
| - |
|
933 |
updateRetailerRequest
|
| - |
|
934 |
);
|
| - |
|
935 |
|
| - |
|
936 |
if (fofoStore.getActivationType() == ActivationType.ACTIVE
|
| - |
|
937 |
&& fofoStore.getActiveTimeStamp() != null) {
|
| - |
|
938 |
|
| - |
|
939 |
storeTimelineTatService.sendTrialActivationMail(
|
| - |
|
940 |
fofoStore,
|
| - |
|
941 |
updateRetailerRequest
|
| - |
|
942 |
);
|
| - |
|
943 |
}
|
| 932 |
}
|
944 |
}
|
| 933 |
|
945 |
|
| 934 |
return fofoStore;
|
946 |
return fofoStore;
|
| 935 |
}
|
947 |
}
|
| 936 |
|
948 |
|