| Line 1... |
Line 1... |
| 1 |
package com.spice.profitmandi.web.controller;
|
1 |
package com.spice.profitmandi.web.controller;
|
| 2 |
|
2 |
|
| 3 |
import java.time.LocalDate;
|
- |
|
| 4 |
import java.time.LocalDateTime;
|
- |
|
| 5 |
import java.util.ArrayList;
|
- |
|
| 6 |
import java.util.HashMap;
|
- |
|
| 7 |
import java.util.List;
|
- |
|
| 8 |
import java.util.Map;
|
- |
|
| 9 |
import java.util.Set;
|
- |
|
| 10 |
import java.util.stream.Collectors;
|
- |
|
| 11 |
|
- |
|
| 12 |
import javax.servlet.http.HttpServletRequest;
|
- |
|
| 13 |
|
- |
|
| 14 |
import org.apache.logging.log4j.LogManager;
|
- |
|
| 15 |
import org.apache.logging.log4j.Logger;
|
- |
|
| 16 |
import org.springframework.beans.factory.annotation.Autowired;
|
- |
|
| 17 |
import org.springframework.stereotype.Controller;
|
- |
|
| 18 |
import org.springframework.transaction.annotation.Transactional;
|
- |
|
| 19 |
import org.springframework.ui.Model;
|
- |
|
| 20 |
import org.springframework.web.bind.annotation.RequestBody;
|
- |
|
| 21 |
import org.springframework.web.bind.annotation.RequestMapping;
|
- |
|
| 22 |
import org.springframework.web.bind.annotation.RequestMethod;
|
- |
|
| 23 |
import org.springframework.web.bind.annotation.RequestParam;
|
- |
|
| 24 |
|
- |
|
| 25 |
import com.spice.profitmandi.common.model.ItemDescriptionModel;
|
3 |
import com.spice.profitmandi.common.model.ItemDescriptionModel;
|
| 26 |
import com.spice.profitmandi.dao.entity.auth.AuthUser;
|
4 |
import com.spice.profitmandi.dao.entity.auth.AuthUser;
|
| 27 |
import com.spice.profitmandi.dao.entity.catalog.Item;
|
5 |
import com.spice.profitmandi.dao.entity.catalog.Item;
|
| 28 |
import com.spice.profitmandi.dao.entity.inventory.Vendor;
|
6 |
import com.spice.profitmandi.dao.entity.inventory.Vendor;
|
| 29 |
import com.spice.profitmandi.dao.entity.inventory.VendorCatalogPricing;
|
7 |
import com.spice.profitmandi.dao.entity.inventory.VendorCatalogPricing;
|
| Line 41... |
Line 19... |
| 41 |
import com.spice.profitmandi.service.inventory.VendorCatalogPricingService;
|
19 |
import com.spice.profitmandi.service.inventory.VendorCatalogPricingService;
|
| 42 |
import com.spice.profitmandi.service.warehouse.WarehouseService;
|
20 |
import com.spice.profitmandi.service.warehouse.WarehouseService;
|
| 43 |
import com.spice.profitmandi.web.model.LoginDetails;
|
21 |
import com.spice.profitmandi.web.model.LoginDetails;
|
| 44 |
import com.spice.profitmandi.web.util.CookiesProcessor;
|
22 |
import com.spice.profitmandi.web.util.CookiesProcessor;
|
| 45 |
import com.spice.profitmandi.web.util.MVCResponseSender;
|
23 |
import com.spice.profitmandi.web.util.MVCResponseSender;
|
| - |
|
24 |
import org.apache.logging.log4j.LogManager;
|
| - |
|
25 |
import org.apache.logging.log4j.Logger;
|
| - |
|
26 |
import org.springframework.beans.factory.annotation.Autowired;
|
| - |
|
27 |
import org.springframework.stereotype.Controller;
|
| - |
|
28 |
import org.springframework.transaction.annotation.Transactional;
|
| - |
|
29 |
import org.springframework.ui.Model;
|
| - |
|
30 |
import org.springframework.web.bind.annotation.RequestBody;
|
| - |
|
31 |
import org.springframework.web.bind.annotation.RequestMapping;
|
| - |
|
32 |
import org.springframework.web.bind.annotation.RequestMethod;
|
| - |
|
33 |
import org.springframework.web.bind.annotation.RequestParam;
|
| - |
|
34 |
|
| - |
|
35 |
import javax.servlet.http.HttpServletRequest;
|
| - |
|
36 |
import java.time.LocalDate;
|
| - |
|
37 |
import java.time.LocalDateTime;
|
| - |
|
38 |
import java.util.*;
|
| - |
|
39 |
import java.util.stream.Collectors;
|
| 46 |
|
40 |
|
| 47 |
@Controller
|
41 |
@Controller
|
| 48 |
@Transactional(rollbackFor = Throwable.class)
|
42 |
@Transactional(rollbackFor = Throwable.class)
|
| 49 |
public class VendorController {
|
43 |
public class VendorController {
|
| 50 |
|
44 |
|