| Line 13... |
Line 13... |
| 13 |
import com.spice.profitmandi.web.util.MVCResponseSender;
|
13 |
import com.spice.profitmandi.web.util.MVCResponseSender;
|
| 14 |
import org.slf4j.Logger;
|
14 |
import org.slf4j.Logger;
|
| 15 |
import org.slf4j.LoggerFactory;
|
15 |
import org.slf4j.LoggerFactory;
|
| 16 |
import org.springframework.beans.factory.annotation.Autowired;
|
16 |
import org.springframework.beans.factory.annotation.Autowired;
|
| 17 |
import org.springframework.stereotype.Controller;
|
17 |
import org.springframework.stereotype.Controller;
|
| - |
|
18 |
import org.springframework.transaction.annotation.Transactional;
|
| 18 |
import org.springframework.ui.Model;
|
19 |
import org.springframework.ui.Model;
|
| 19 |
import org.springframework.web.bind.annotation.RequestMapping;
|
20 |
import org.springframework.web.bind.annotation.RequestMapping;
|
| 20 |
import org.springframework.web.bind.annotation.RequestMethod;
|
21 |
import org.springframework.web.bind.annotation.RequestMethod;
|
| 21 |
import org.springframework.web.bind.annotation.RequestParam;
|
22 |
import org.springframework.web.bind.annotation.RequestParam;
|
| 22 |
|
23 |
|
| Line 27... |
Line 28... |
| 27 |
import java.util.Map;
|
28 |
import java.util.Map;
|
| 28 |
import java.util.Set;
|
29 |
import java.util.Set;
|
| 29 |
import java.util.stream.Collectors;
|
30 |
import java.util.stream.Collectors;
|
| 30 |
|
31 |
|
| 31 |
@Controller
|
32 |
@Controller
|
| - |
|
33 |
@Transactional(rollbackFor = Throwable.class)
|
| 32 |
public class HotDealController {
|
34 |
public class HotDealController {
|
| 33 |
|
35 |
|
| 34 |
private static final Logger LOGGER = LoggerFactory.getLogger(HotDealController.class);
|
36 |
private static final Logger LOGGER = LoggerFactory.getLogger(HotDealController.class);
|
| 35 |
private static final int MOBILE_BRAND_CATEGORY_ID = 3;
|
37 |
private static final int MOBILE_BRAND_CATEGORY_ID = 3;
|
| 36 |
|
38 |
|