Subversion Repositories SmartDukaan

Rev

Rev 31323 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31323 Rev 35458
Line 5... Line 5...
5
import java.util.Map;
5
import java.util.Map;
6
import java.util.Optional;
6
import java.util.Optional;
7
import java.util.stream.Collectors;
7
import java.util.stream.Collectors;
8
 
8
 
9
import javax.servlet.http.HttpServletRequest;
9
import javax.servlet.http.HttpServletRequest;
10
import javax.transaction.Transactional;
10
import org.springframework.transaction.annotation.Transactional;
11
 
11
 
12
import org.apache.logging.log4j.LogManager;
12
import org.apache.logging.log4j.LogManager;
13
import org.apache.logging.log4j.Logger;
13
import org.apache.logging.log4j.Logger;
14
import org.json.JSONObject;
14
import org.json.JSONObject;
15
import org.springframework.beans.factory.annotation.Autowired;
15
import org.springframework.beans.factory.annotation.Autowired;
Line 27... Line 27...
27
import com.spice.profitmandi.dao.entity.dtr.WebOfferProduct;
27
import com.spice.profitmandi.dao.entity.dtr.WebOfferProduct;
28
import com.spice.profitmandi.dao.repository.dtr.WebOfferProductRepository;
28
import com.spice.profitmandi.dao.repository.dtr.WebOfferProductRepository;
29
import com.spice.profitmandi.dao.repository.dtr.WebOfferRepository;
29
import com.spice.profitmandi.dao.repository.dtr.WebOfferRepository;
30
 
30
 
31
@Controller
31
@Controller
32
@Transactional(rollbackOn = Throwable.class)
32
@Transactional(rollbackFor = Throwable.class)
33
public class WebOffersController {
33
public class WebOffersController {
34
 
34
 
35
	private static final Logger LOGGER = LogManager.getLogger(WebOffersController.class);
35
	private static final Logger LOGGER = LogManager.getLogger(WebOffersController.class);
36
 
36
 
37
	@Autowired
37
	@Autowired