| Line 20... |
Line 20... |
| 20 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
20 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 21 |
import com.spice.profitmandi.dao.entity.dtr.Role;
|
21 |
import com.spice.profitmandi.dao.entity.dtr.Role;
|
| 22 |
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
|
22 |
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
|
| 23 |
import com.spice.profitmandi.dao.enumuration.dtr.RoleType;
|
23 |
import com.spice.profitmandi.dao.enumuration.dtr.RoleType;
|
| 24 |
import com.spice.profitmandi.dao.repository.dtr.FofoStoreRepository;
|
24 |
import com.spice.profitmandi.dao.repository.dtr.FofoStoreRepository;
|
| - |
|
25 |
import com.spice.profitmandi.service.authentication.RoleManager;
|
| 25 |
import com.spice.profitmandi.service.inventory.InventoryService;
|
26 |
import com.spice.profitmandi.service.inventory.InventoryService;
|
| 26 |
import com.spice.profitmandi.web.model.LoginDetails;
|
27 |
import com.spice.profitmandi.web.model.LoginDetails;
|
| 27 |
import com.spice.profitmandi.web.util.CookiesProcessor;
|
28 |
import com.spice.profitmandi.web.util.CookiesProcessor;
|
| 28 |
import com.spice.profitmandi.web.util.RoleManager;
|
- |
|
| 29 |
|
29 |
|
| 30 |
@Controller
|
30 |
@Controller
|
| 31 |
@Transactional(rollbackFor = Throwable.class)
|
31 |
@Transactional(rollbackFor = Throwable.class)
|
| 32 |
public class DashboardController {
|
32 |
public class DashboardController {
|
| 33 |
|
33 |
|