| Line 38... |
Line 38... |
| 38 |
import com.spice.profitmandi.common.model.BrandStockPrice;
|
38 |
import com.spice.profitmandi.common.model.BrandStockPrice;
|
| 39 |
import com.spice.profitmandi.common.model.Notification;
|
39 |
import com.spice.profitmandi.common.model.Notification;
|
| 40 |
import com.spice.profitmandi.common.model.ProfitMandiConstants;
|
40 |
import com.spice.profitmandi.common.model.ProfitMandiConstants;
|
| 41 |
import com.spice.profitmandi.common.web.util.ResponseSender;
|
41 |
import com.spice.profitmandi.common.web.util.ResponseSender;
|
| 42 |
import com.spice.profitmandi.dao.Interface.Campaign;
|
42 |
import com.spice.profitmandi.dao.Interface.Campaign;
|
| - |
|
43 |
import com.spice.profitmandi.dao.entity.auth.AuthUser;
|
| 43 |
import com.spice.profitmandi.dao.entity.dtr.Document;
|
44 |
import com.spice.profitmandi.dao.entity.dtr.Document;
|
| 44 |
import com.spice.profitmandi.dao.entity.dtr.NotificationCampaign;
|
45 |
import com.spice.profitmandi.dao.entity.dtr.NotificationCampaign;
|
| 45 |
import com.spice.profitmandi.dao.entity.dtr.UserCampaign;
|
46 |
import com.spice.profitmandi.dao.entity.dtr.UserCampaign;
|
| 46 |
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
|
47 |
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
|
| 47 |
import com.spice.profitmandi.dao.entity.fofo.PartnerDailyInvestment;
|
48 |
import com.spice.profitmandi.dao.entity.fofo.PartnerDailyInvestment;
|
| 48 |
import com.spice.profitmandi.dao.entity.fofo.PartnerTargetDetails;
|
49 |
import com.spice.profitmandi.dao.entity.fofo.PartnerTargetDetails;
|
| 49 |
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
|
50 |
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
|
| 50 |
|
- |
|
| 51 |
import com.spice.profitmandi.dao.model.SimpleCampaign;
|
51 |
import com.spice.profitmandi.dao.model.SimpleCampaign;
|
| 52 |
import com.spice.profitmandi.dao.model.SimpleCampaignParams;
|
52 |
import com.spice.profitmandi.dao.model.SimpleCampaignParams;
|
| - |
|
53 |
import com.spice.profitmandi.dao.repository.auth.AuthRepository;
|
| - |
|
54 |
import com.spice.profitmandi.dao.repository.cs.CsService;
|
| 53 |
import com.spice.profitmandi.dao.repository.dtr.DocumentRepository;
|
55 |
import com.spice.profitmandi.dao.repository.dtr.DocumentRepository;
|
| 54 |
import com.spice.profitmandi.dao.repository.dtr.FofoStoreRepository;
|
56 |
import com.spice.profitmandi.dao.repository.dtr.FofoStoreRepository;
|
| 55 |
import com.spice.profitmandi.dao.repository.dtr.Mongo;
|
57 |
import com.spice.profitmandi.dao.repository.dtr.Mongo;
|
| 56 |
import com.spice.profitmandi.dao.repository.dtr.NotificationCampaignRepository;
|
58 |
import com.spice.profitmandi.dao.repository.dtr.NotificationCampaignRepository;
|
| 57 |
import com.spice.profitmandi.dao.repository.dtr.UserAccountRepository;
|
59 |
import com.spice.profitmandi.dao.repository.dtr.UserAccountRepository;
|
| Line 60... |
Line 62... |
| 60 |
import com.spice.profitmandi.dao.repository.fofo.FofoOrderItemRepository;
|
62 |
import com.spice.profitmandi.dao.repository.fofo.FofoOrderItemRepository;
|
| 61 |
import com.spice.profitmandi.dao.repository.fofo.HygieneDataRepository;
|
63 |
import com.spice.profitmandi.dao.repository.fofo.HygieneDataRepository;
|
| 62 |
import com.spice.profitmandi.dao.repository.fofo.PartnerDailyInvestmentRepository;
|
64 |
import com.spice.profitmandi.dao.repository.fofo.PartnerDailyInvestmentRepository;
|
| 63 |
import com.spice.profitmandi.dao.repository.fofo.PartnerTargetRepository;
|
65 |
import com.spice.profitmandi.dao.repository.fofo.PartnerTargetRepository;
|
| 64 |
import com.spice.profitmandi.dao.repository.fofo.PartnerTypeChangeService;
|
66 |
import com.spice.profitmandi.dao.repository.fofo.PartnerTypeChangeService;
|
| - |
|
67 |
import com.spice.profitmandi.service.AuthService;
|
| 65 |
import com.spice.profitmandi.service.PartnerInvestmentService;
|
68 |
import com.spice.profitmandi.service.PartnerInvestmentService;
|
| 66 |
import com.spice.profitmandi.service.authentication.RoleManager;
|
69 |
import com.spice.profitmandi.service.authentication.RoleManager;
|
| 67 |
import com.spice.profitmandi.service.inventory.InventoryService;
|
70 |
import com.spice.profitmandi.service.inventory.InventoryService;
|
| 68 |
import com.spice.profitmandi.web.model.LoginDetails;
|
71 |
import com.spice.profitmandi.web.model.LoginDetails;
|
| 69 |
import com.spice.profitmandi.web.util.CookiesProcessor;
|
72 |
import com.spice.profitmandi.web.util.CookiesProcessor;
|
| Line 132... |
Line 135... |
| 132 |
@Autowired
|
135 |
@Autowired
|
| 133 |
private NotificationCampaignRepository notificationCampaignRepository;
|
136 |
private NotificationCampaignRepository notificationCampaignRepository;
|
| 134 |
|
137 |
|
| 135 |
@Autowired
|
138 |
@Autowired
|
| 136 |
private Mongo mongoClient;
|
139 |
private Mongo mongoClient;
|
| - |
|
140 |
|
| - |
|
141 |
@Autowired
|
| - |
|
142 |
private AuthRepository authRepository;
|
| 137 |
|
143 |
|
| 138 |
@Autowired
|
144 |
@Autowired
|
| 139 |
private Gson gson;
|
145 |
private Gson gson;
|
| 140 |
|
146 |
|
| 141 |
private static final Logger LOGGER = LogManager.getLogger(DashboardController.class);
|
147 |
private static final Logger LOGGER = LogManager.getLogger(DashboardController.class);
|