| Line 35... |
Line 35... |
| 35 |
import org.apache.commons.io.output.ByteArrayOutputStream;
|
35 |
import org.apache.commons.io.output.ByteArrayOutputStream;
|
| 36 |
import org.apache.logging.log4j.LogManager;
|
36 |
import org.apache.logging.log4j.LogManager;
|
| 37 |
import org.apache.logging.log4j.Logger;
|
37 |
import org.apache.logging.log4j.Logger;
|
| 38 |
import org.apache.velocity.app.VelocityEngine;
|
38 |
import org.apache.velocity.app.VelocityEngine;
|
| 39 |
import org.springframework.beans.factory.annotation.Autowired;
|
39 |
import org.springframework.beans.factory.annotation.Autowired;
|
| 40 |
import org.springframework.beans.factory.annotation.Qualifier;
|
- |
|
| 41 |
import org.springframework.beans.factory.annotation.Value;
|
40 |
import org.springframework.beans.factory.annotation.Value;
|
| 42 |
import org.springframework.cache.CacheManager;
|
41 |
import org.springframework.cache.CacheManager;
|
| 43 |
import org.springframework.core.io.InputStreamResource;
|
42 |
import org.springframework.core.io.InputStreamResource;
|
| 44 |
import org.springframework.http.HttpHeaders;
|
43 |
import org.springframework.http.HttpHeaders;
|
| 45 |
import org.springframework.http.HttpStatus;
|
44 |
import org.springframework.http.HttpStatus;
|
| Line 120... |
Line 119... |
| 120 |
@Autowired
|
119 |
@Autowired
|
| 121 |
private VelocityEngine velocityEngine;
|
120 |
private VelocityEngine velocityEngine;
|
| 122 |
|
121 |
|
| 123 |
@Autowired
|
122 |
@Autowired
|
| 124 |
BrandsService brandsService;
|
123 |
BrandsService brandsService;
|
| 125 |
@Qualifier("catalogRepository")
|
- |
|
| - |
|
124 |
|
| 126 |
@Autowired
|
125 |
@Autowired
|
| 127 |
private CatalogRepository catalogRepository;
|
126 |
private CatalogRepository catalogRepository;
|
| 128 |
|
127 |
|
| 129 |
@RequestMapping(value = "/getCreateOffer", method = RequestMethod.GET)
|
128 |
@RequestMapping(value = "/getCreateOffer", method = RequestMethod.GET)
|
| 130 |
public String getCreateOffer(HttpServletRequest request, Model model) throws ProfitMandiBusinessException {
|
129 |
public String getCreateOffer(HttpServletRequest request, Model model) throws ProfitMandiBusinessException {
|