| Line 20... |
Line 20... |
| 20 |
import com.spice.profitmandi.common.ResponseCodeHolder;
|
20 |
import com.spice.profitmandi.common.ResponseCodeHolder;
|
| 21 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
21 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 22 |
import com.spice.profitmandi.common.model.ProfitMandiConstants;
|
22 |
import com.spice.profitmandi.common.model.ProfitMandiConstants;
|
| 23 |
import com.spice.profitmandi.common.util.StringUtils;
|
23 |
import com.spice.profitmandi.common.util.StringUtils;
|
| 24 |
import com.spice.profitmandi.common.web.util.ResponseSender;
|
24 |
import com.spice.profitmandi.common.web.util.ResponseSender;
|
| - |
|
25 |
import com.spice.profitmandi.dao.entity.catalog.PinCodeTag;
|
| - |
|
26 |
import com.spice.profitmandi.dao.entity.catalog.RetailerTag;
|
| - |
|
27 |
import com.spice.profitmandi.dao.entity.catalog.Tag;
|
| 25 |
import com.spice.profitmandi.dao.entity.dtr.Retailer;
|
28 |
import com.spice.profitmandi.dao.entity.dtr.Retailer;
|
| 26 |
import com.spice.profitmandi.dao.entity.fofo.RetailerTag;
|
- |
|
| 27 |
import com.spice.profitmandi.dao.entity.fofo.PinCodeTag;
|
- |
|
| 28 |
import com.spice.profitmandi.dao.entity.fofo.Tag;
|
- |
|
| 29 |
import com.spice.profitmandi.dao.enumuration.fofo.TagType;
|
29 |
import com.spice.profitmandi.dao.enumuration.fofo.TagType;
|
| - |
|
30 |
import com.spice.profitmandi.dao.repository.catalog.PinCodeTagRepository;
|
| - |
|
31 |
import com.spice.profitmandi.dao.repository.catalog.RetailerTagRepository;
|
| - |
|
32 |
import com.spice.profitmandi.dao.repository.catalog.TagRepository;
|
| 30 |
import com.spice.profitmandi.dao.repository.dtr.RetailerRepository;
|
33 |
import com.spice.profitmandi.dao.repository.dtr.RetailerRepository;
|
| 31 |
import com.spice.profitmandi.dao.repository.fofo.RetailerTagRepository;
|
- |
|
| 32 |
import com.spice.profitmandi.dao.repository.fofo.PinCodeTagRepository;
|
- |
|
| 33 |
import com.spice.profitmandi.dao.repository.fofo.TagRepository;
|
- |
|
| 34 |
import com.spice.profitmandi.web.request.CreateTagRequest;
|
34 |
import com.spice.profitmandi.web.request.CreateTagRequest;
|
| 35 |
|
35 |
|
| 36 |
@Controller
|
36 |
@Controller
|
| 37 |
@Transactional
|
37 |
@Transactional(rollbackFor=Throwable.class)
|
| 38 |
public class TagController {
|
38 |
public class TagController {
|
| 39 |
|
39 |
|
| 40 |
@Autowired
|
40 |
@Autowired
|
| 41 |
TagRepository tagRepository;
|
41 |
TagRepository tagRepository;
|
| 42 |
|
42 |
|