Subversion Repositories SmartDukaan

Rev

Rev 24822 | Rev 25408 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24822 Rev 25161
Line 9... Line 9...
9
import java.util.Map;
9
import java.util.Map;
10
import java.util.Set;
10
import java.util.Set;
11
import java.util.stream.Collectors;
11
import java.util.stream.Collectors;
12
 
12
 
13
import javax.servlet.http.HttpServletRequest;
13
import javax.servlet.http.HttpServletRequest;
14
import javax.transaction.Transactional;
-
 
15
 
14
 
16
import org.apache.commons.io.output.ByteArrayOutputStream;
15
import org.apache.commons.io.output.ByteArrayOutputStream;
17
import org.apache.logging.log4j.LogManager;
16
import org.apache.logging.log4j.LogManager;
18
import org.apache.logging.log4j.Logger;
17
import org.apache.logging.log4j.Logger;
19
import org.springframework.beans.factory.annotation.Autowired;
18
import org.springframework.beans.factory.annotation.Autowired;
Line 22... Line 21...
22
import org.springframework.core.io.ByteArrayResource;
21
import org.springframework.core.io.ByteArrayResource;
23
import org.springframework.http.HttpHeaders;
22
import org.springframework.http.HttpHeaders;
24
import org.springframework.http.HttpStatus;
23
import org.springframework.http.HttpStatus;
25
import org.springframework.http.ResponseEntity;
24
import org.springframework.http.ResponseEntity;
26
import org.springframework.stereotype.Controller;
25
import org.springframework.stereotype.Controller;
-
 
26
import org.springframework.transaction.annotation.Transactional;
27
import org.springframework.ui.Model;
27
import org.springframework.ui.Model;
28
import org.springframework.web.bind.annotation.PathVariable;
28
import org.springframework.web.bind.annotation.PathVariable;
29
import org.springframework.web.bind.annotation.RequestBody;
29
import org.springframework.web.bind.annotation.RequestBody;
30
import org.springframework.web.bind.annotation.RequestMapping;
30
import org.springframework.web.bind.annotation.RequestMapping;
31
import org.springframework.web.bind.annotation.RequestMethod;
31
import org.springframework.web.bind.annotation.RequestMethod;
Line 64... Line 64...
64
import com.spice.profitmandi.web.util.MVCResponseSender;
64
import com.spice.profitmandi.web.util.MVCResponseSender;
65
 
65
 
66
import in.shop2020.model.v1.order.WalletReferenceType;
66
import in.shop2020.model.v1.order.WalletReferenceType;
67
 
67
 
68
@Controller
68
@Controller
69
@Transactional
69
@Transactional(rollbackFor=Throwable.class)
70
public class PriceDropController {
70
public class PriceDropController {
71
 
71
 
72
	private static final Logger LOGGER = LogManager.getLogger(PriceDropController.class);
72
	private static final Logger LOGGER = LogManager.getLogger(PriceDropController.class);
73
 
73
 
74
	@Autowired
74
	@Autowired