| Line 1... |
Line 1... |
| 1 |
package com.spice.profitmandi.web.controller;
|
1 |
package com.spice.profitmandi.web.controller;
|
| 2 |
|
2 |
|
| 3 |
import java.time.LocalDateTime;
|
3 |
import java.time.LocalDateTime;
|
| - |
|
4 |
|
| 4 |
import java.util.HashMap;
|
5 |
import java.util.HashMap;
|
| 5 |
import java.util.Map;
|
6 |
import java.util.Map;
|
| 6 |
import java.util.Set;
|
7 |
import java.util.Set;
|
| 7 |
import java.util.function.Predicate;
|
8 |
import java.util.function.Predicate;
|
| 8 |
|
9 |
|
| Line 29... |
Line 30... |
| 29 |
import com.spice.profitmandi.dao.entity.Retailer;
|
30 |
import com.spice.profitmandi.dao.entity.Retailer;
|
| 30 |
import com.spice.profitmandi.dao.entity.Role;
|
31 |
import com.spice.profitmandi.dao.entity.Role;
|
| 31 |
import com.spice.profitmandi.dao.entity.User;
|
32 |
import com.spice.profitmandi.dao.entity.User;
|
| 32 |
import com.spice.profitmandi.dao.entity.UserRole;
|
33 |
import com.spice.profitmandi.dao.entity.UserRole;
|
| 33 |
import com.spice.profitmandi.dao.enumuration.RoleType;
|
34 |
import com.spice.profitmandi.dao.enumuration.RoleType;
|
| - |
|
35 |
import com.spice.profitmandi.dao.model.UserCart;
|
| 34 |
import com.spice.profitmandi.dao.repository.PermissionRepository;
|
36 |
import com.spice.profitmandi.dao.repository.PermissionRepository;
|
| 35 |
import com.spice.profitmandi.dao.repository.RetailerRepository;
|
37 |
import com.spice.profitmandi.dao.repository.RetailerRepository;
|
| 36 |
import com.spice.profitmandi.dao.repository.RoleRepository;
|
38 |
import com.spice.profitmandi.dao.repository.RoleRepository;
|
| 37 |
import com.spice.profitmandi.dao.repository.UserAccountRepository;
|
39 |
import com.spice.profitmandi.dao.repository.UserAccountRepository;
|
| 38 |
import com.spice.profitmandi.dao.repository.UserCart;
|
- |
|
| 39 |
import com.spice.profitmandi.dao.repository.UserRepository;
|
40 |
import com.spice.profitmandi.dao.repository.UserRepository;
|
| 40 |
import com.spice.profitmandi.dao.repository.UserRoleRepository;
|
41 |
import com.spice.profitmandi.dao.repository.UserRoleRepository;
|
| 41 |
import com.spice.profitmandi.dao.util.UserToRetailerMigrationUtil;
|
42 |
import com.spice.profitmandi.dao.util.UserToRetailerMigrationUtil;
|
| 42 |
import com.spice.profitmandi.web.enumuration.UserStatus;
|
43 |
import com.spice.profitmandi.web.enumuration.UserStatus;
|
| 43 |
import com.spice.profitmandi.web.model.ProfitMandiResponse;
|
44 |
import com.spice.profitmandi.web.model.ProfitMandiResponse;
|