| Line 37... |
Line 37... |
| 37 |
|
37 |
|
| 38 |
@Controller
|
38 |
@Controller
|
| 39 |
@Transactional(rollbackFor = Throwable.class)
|
39 |
@Transactional(rollbackFor = Throwable.class)
|
| 40 |
public class SellerController {
|
40 |
public class SellerController {
|
| 41 |
|
41 |
|
| 42 |
@Autowired
|
42 |
@Autowired
|
| 43 |
private SellerRepository sellerRepository;
|
43 |
private SellerRepository sellerRepository;
|
| 44 |
|
- |
|
| 45 |
@Autowired
|
- |
|
| 46 |
private StateRepository stateRepository;
|
- |
|
| 47 |
|
- |
|
| 48 |
|
- |
|
| 49 |
@Autowired
|
- |
|
| 50 |
WarehouseRepository warehouseRepository;
|
- |
|
| 51 |
|
- |
|
| 52 |
@Autowired
|
- |
|
| 53 |
WareHouseAddressMasterRepository wareHouseAddressMasterRepository;
|
- |
|
| 54 |
|
- |
|
| 55 |
@Autowired
|
- |
|
| 56 |
private SellerWarehouseRepository sellerWarehouseRepository;
|
- |
|
| 57 |
|
- |
|
| 58 |
@Autowired
|
- |
|
| 59 |
private WareHouseAddressMappingRepository wareHouseAddressMappingRepository;
|
- |
|
| 60 |
|
- |
|
| 61 |
private static final Logger LOGGER = LogManager.getLogger(SellerController.class);
|
- |
|
| 62 |
|
- |
|
| 63 |
@RequestMapping(value = "/createNewWarehouse", method = RequestMethod.POST)
|
- |
|
| 64 |
public String getViewOurSales(HttpServletRequest request,
|
- |
|
| 65 |
@RequestParam(name = "address", required = true, defaultValue = "0") int address,
|
- |
|
| 66 |
@RequestParam(name = "prefix", required = true, defaultValue = "0") String prefix,
|
- |
|
| 67 |
@RequestParam(name = "sellerId", required = true, defaultValue = "0") int sellerId,
|
- |
|
| 68 |
@RequestParam(name = "warehouseName", required = true, defaultValue = "0") String warehouseName,
|
- |
|
| 69 |
@RequestParam(name = "pin", required = true, defaultValue = "0") String pinCode, Model model)
|
- |
|
| 70 |
|
- |
|
| 71 |
throws Exception {
|
- |
|
| 72 |
|
- |
|
| 73 |
Seller seller = sellerRepository.selectById(sellerId);
|
- |
|
| 74 |
WarehouseAddressMaster wam = wareHouseAddressMasterRepository.selectById(address);
|
- |
|
| 75 |
|
- |
|
| 76 |
Warehouse warehouse = new Warehouse();
|
- |
|
| 77 |
warehouse.setDisplayName(warehouseName);
|
- |
|
| 78 |
warehouse.setLocation(wam.getAddress());
|
- |
|
| 79 |
warehouse.setGstin(seller.getGstin());
|
- |
|
| 80 |
warehouse.setStateId(seller.getStateId());
|
- |
|
| 81 |
warehouse.setStatus(3);
|
- |
|
| 82 |
warehouse.setAddedOn(LocalDateTime.now());
|
- |
|
| 83 |
warehouse.setLastCheckedOn(LocalDateTime.now());
|
- |
|
| 84 |
warehouse.setTinNumber(null);
|
- |
|
| 85 |
warehouse.setPincode(pinCode);
|
- |
|
| 86 |
warehouse.setLogisticsLocation(0);
|
- |
|
| 87 |
warehouse.setVendor(1);
|
- |
|
| 88 |
warehouse.setBillingType(0);
|
- |
|
| 89 |
warehouse.setInventoryType(InventoryType.GOOD);
|
- |
|
| 90 |
warehouse.setWarehouseType(WarehouseType.OURS);
|
- |
|
| 91 |
warehouse.setIsAvailabilityMonitored(1);
|
- |
|
| 92 |
warehouse.setSource(0);
|
- |
|
| 93 |
warehouseRepository.persist(warehouse);
|
- |
|
| 94 |
warehouse.setBillingWarehouseId(warehouse.getId());
|
- |
|
| 95 |
warehouse.setShippingWarehouseId(warehouse.getId());
|
- |
|
| 96 |
|
- |
|
| 97 |
LOGGER.info("warehouseId" + warehouse.getId());
|
- |
|
| 98 |
|
- |
|
| 99 |
SellerWarehouse sellerWarehouse = new SellerWarehouse();
|
- |
|
| 100 |
sellerWarehouse.setActive(true);
|
- |
|
| 101 |
sellerWarehouse.setWarehouseId(warehouse.getId());
|
- |
|
| 102 |
sellerWarehouse.setChallanSequence(0);
|
- |
|
| 103 |
sellerWarehouse.setCreateTimestamp(LocalDateTime.now());
|
- |
|
| 104 |
sellerWarehouse.setInvoiceSequence(0);
|
- |
|
| 105 |
sellerWarehouse.setPrefix(prefix);
|
- |
|
| 106 |
sellerWarehouse.setOrderType(0);
|
- |
|
| 107 |
sellerWarehouse.setSellerId(sellerId);
|
- |
|
| 108 |
sellerWarehouseRepository.persist(sellerWarehouse);
|
- |
|
| 109 |
|
- |
|
| 110 |
WarehouseAddressMapping warehouseAddressMapping = new WarehouseAddressMapping();
|
- |
|
| 111 |
warehouseAddressMapping.setAddressId(address);
|
- |
|
| 112 |
warehouseAddressMapping.setCreated(LocalDateTime.now());
|
- |
|
| 113 |
warehouseAddressMapping.setUpdated(null);
|
- |
|
| 114 |
warehouseAddressMapping.setWarehouseId(warehouse.getId());
|
- |
|
| 115 |
warehouseAddressMapping.setAddressId(address);
|
- |
|
| 116 |
wareHouseAddressMappingRepository.persist(warehouseAddressMapping);
|
- |
|
| 117 |
|
- |
|
| 118 |
|
- |
|
| 119 |
return "seller";
|
- |
|
| 120 |
|
- |
|
| 121 |
}
|
- |
|
| 122 |
|
- |
|
| 123 |
@RequestMapping(value = "/createNewSeller", method = RequestMethod.POST)
|
- |
|
| 124 |
public String getNewSeller(HttpServletRequest request,
|
- |
|
| 125 |
@RequestParam(name = "label", required = true, defaultValue = "0") String label,
|
- |
|
| 126 |
@RequestParam(name = "address", required = true, defaultValue = "0") String address,
|
- |
|
| 127 |
@RequestParam(name = "gst", required = true, defaultValue = "0") String gst,
|
- |
|
| 128 |
@RequestParam(name = "state", required = true, defaultValue = "0") int state, Model model)
|
- |
|
| 129 |
throws Exception {
|
- |
|
| 130 |
|
- |
|
| 131 |
Seller seller = new Seller();
|
- |
|
| 132 |
|
- |
|
| 133 |
seller.setAddress(address);
|
- |
|
| 134 |
seller.setLabel(label);
|
- |
|
| 135 |
seller.setGstin(gst);
|
- |
|
| 136 |
seller.setStateId(state);
|
- |
|
| 137 |
seller.setOrganisationId(7);
|
- |
|
| 138 |
sellerRepository.persist(seller);
|
- |
|
| 139 |
|
- |
|
| 140 |
return "seller";
|
- |
|
| 141 |
|
- |
|
| 142 |
}
|
- |
|
| 143 |
|
- |
|
| 144 |
@RequestMapping(value = "/createNewAddress", method = RequestMethod.POST)
|
- |
|
| 145 |
public String getNewSeller(HttpServletRequest request,
|
- |
|
| 146 |
@RequestParam(name = "newAddress", required = true, defaultValue = "0") String address,
|
- |
|
| 147 |
@RequestParam(name = "pin", required = true, defaultValue = "0") String pin,
|
- |
|
| 148 |
@RequestParam(name = "stateId", required = true, defaultValue = "0") int stateId, Model model)
|
- |
|
| 149 |
throws Exception {
|
- |
|
| 150 |
|
- |
|
| 151 |
WarehouseAddressMaster wham = new WarehouseAddressMaster();
|
- |
|
| 152 |
wham.setAddress(address);
|
- |
|
| 153 |
wham.setPin(pin);
|
- |
|
| 154 |
wham.setStateId(stateId);
|
- |
|
| 155 |
wham.setContacNumber("18002700273");
|
- |
|
| 156 |
wham.setContactPerson("Customer Care");
|
- |
|
| 157 |
wham.setCreated(LocalDateTime.now());
|
- |
|
| 158 |
wareHouseAddressMasterRepository.persist(wham);
|
- |
|
| 159 |
|
- |
|
| 160 |
return "seller";
|
- |
|
| 161 |
|
- |
|
| 162 |
}
|
- |
|
| 163 |
|
- |
|
| 164 |
@RequestMapping(value = "/getAllSeller", method = RequestMethod.GET)
|
- |
|
| 165 |
public String getAllSeller(HttpServletRequest request, Model model) throws Exception {
|
- |
|
| 166 |
|
- |
|
| 167 |
List<Seller> sellers = sellerRepository.selectAllSeller().stream().filter(x->x.getOrganisationId()==7).collect(Collectors.toList());
|
- |
|
| 168 |
|
- |
|
| 169 |
List<WarehouseAddressMaster> warehouseAddressMaster = sellerRepository.selectAllWarehouseAddressMaster();
|
- |
|
| 170 |
|
- |
|
| 171 |
List<State> state = stateRepository.selectAll();
|
- |
|
| 172 |
LOGGER.info("statemaster" + state);
|
- |
|
| 173 |
model.addAttribute("state", state);
|
- |
|
| 174 |
|
- |
|
| 175 |
LOGGER.info("sellerLabel" + sellers);
|
- |
|
| 176 |
LOGGER.info("warehouseAddressMaster" + warehouseAddressMaster);
|
- |
|
| 177 |
model.addAttribute("sellerLabel", sellers);
|
- |
|
| 178 |
model.addAttribute("warehouseAddressMaster", warehouseAddressMaster);
|
- |
|
| 179 |
|
- |
|
| 180 |
return "seller";
|
- |
|
| 181 |
}
|
- |
|
| 182 |
|
- |
|
| 183 |
@RequestMapping(value = "/getSellerWareHouse", method = RequestMethod.GET)
|
- |
|
| 184 |
public String getSellerWareHouse(HttpServletRequest request,
|
- |
|
| 185 |
@RequestParam(name = "sellerId", required = true, defaultValue = "0") int sellerId, Model model)
|
- |
|
| 186 |
throws Exception {
|
- |
|
| 187 |
|
- |
|
| 188 |
List<SellerWarehouse> sellerWarehouse = sellerWarehouseRepository.selectBySellerId(sellerId);
|
- |
|
| 189 |
|
- |
|
| 190 |
List<WarehouseAddressMaster> allWarehouseAddressMaster = sellerRepository.selectAllWarehouseAddressMaster();
|
- |
|
| 191 |
|
- |
|
| 192 |
Seller seller = sellerRepository.selectById(sellerId);
|
- |
|
| 193 |
|
- |
|
| 194 |
|
- |
|
| 195 |
List<Integer> sellerwarehouseIds = sellerWarehouse.stream().map(x -> x.getWarehouseId())
|
- |
|
| 196 |
.collect(Collectors.toList());
|
- |
|
| 197 |
|
- |
|
| 198 |
Map<Integer, WarehouseAddressMaster> wam = null;
|
- |
|
| 199 |
if(sellerwarehouseIds.size() > 0) {
|
- |
|
| 200 |
List<WarehouseAddressMapping> warehouseAddressMapping = wareHouseAddressMappingRepository
|
- |
|
| 201 |
.selectAllByIds(sellerwarehouseIds);
|
- |
|
| 202 |
wam = mapWarhouseIdAndAddress(warehouseAddressMapping);
|
- |
|
| 203 |
} else {
|
- |
|
| 204 |
wam = new HashMap<>();
|
- |
|
| 205 |
}
|
- |
|
| 206 |
|
- |
|
| 207 |
model.addAttribute("allWhm", allWarehouseAddressMaster);
|
- |
|
| 208 |
|
- |
|
| 209 |
model.addAttribute("wam", wam);
|
- |
|
| 210 |
model.addAttribute("seller", seller);
|
- |
|
| 211 |
model.addAttribute("sellerId", sellerId);
|
- |
|
| 212 |
model.addAttribute("sellerWarehouse", sellerWarehouse);
|
- |
|
| 213 |
return "seller-warehouse-container";
|
- |
|
| 214 |
}
|
- |
|
| 215 |
|
- |
|
| 216 |
private Map<Integer, WarehouseAddressMaster> mapWarhouseIdAndAddress(
|
- |
|
| 217 |
List<WarehouseAddressMapping> warehouseAddressMapping) {
|
- |
|
| 218 |
Map<Integer, WarehouseAddressMaster> wam = new HashMap<>();
|
- |
|
| 219 |
for (WarehouseAddressMapping wa : warehouseAddressMapping) {
|
- |
|
| 220 |
WarehouseAddressMaster wm = wareHouseAddressMasterRepository.selectById(wa.getAddressId());
|
- |
|
| 221 |
wam.put(wa.getWarehouseId(), wm);
|
- |
|
| 222 |
}
|
- |
|
| 223 |
|
44 |
|
| - |
|
45 |
@Autowired
|
| - |
|
46 |
private StateRepository stateRepository;
|
| - |
|
47 |
|
| - |
|
48 |
|
| - |
|
49 |
@Autowired
|
| - |
|
50 |
WarehouseRepository warehouseRepository;
|
| - |
|
51 |
|
| - |
|
52 |
@Autowired
|
| - |
|
53 |
WareHouseAddressMasterRepository wareHouseAddressMasterRepository;
|
| - |
|
54 |
|
| - |
|
55 |
@Autowired
|
| - |
|
56 |
private SellerWarehouseRepository sellerWarehouseRepository;
|
| - |
|
57 |
|
| - |
|
58 |
@Autowired
|
| - |
|
59 |
private WareHouseAddressMappingRepository wareHouseAddressMappingRepository;
|
| - |
|
60 |
|
| - |
|
61 |
private static final Logger LOGGER = LogManager.getLogger(SellerController.class);
|
| - |
|
62 |
|
| - |
|
63 |
@RequestMapping(value = "/createNewWarehouse", method = RequestMethod.POST)
|
| 224 |
return wam;
|
64 |
public String getViewOurSales(HttpServletRequest request, @RequestParam(name = "address", required = true, defaultValue = "0") int address, @RequestParam(name = "prefix", required = true, defaultValue = "0") String prefix, @RequestParam(name = "sellerId", required = true, defaultValue = "0") int sellerId, @RequestParam(name = "warehouseName", required = true, defaultValue = "0") String warehouseName, @RequestParam(name = "pin", required = true, defaultValue = "0") String pinCode, Model model)
|
| - |
|
65 |
|
| - |
|
66 |
throws Exception {
|
| - |
|
67 |
|
| - |
|
68 |
Seller seller = sellerRepository.selectById(sellerId);
|
| - |
|
69 |
WarehouseAddressMaster wam = wareHouseAddressMasterRepository.selectById(address);
|
| - |
|
70 |
|
| - |
|
71 |
Warehouse warehouse = new Warehouse();
|
| - |
|
72 |
warehouse.setDisplayName(warehouseName);
|
| - |
|
73 |
warehouse.setLocation(wam.getAddress());
|
| - |
|
74 |
warehouse.setGstin(seller.getGstin());
|
| - |
|
75 |
warehouse.setStateId(seller.getStateId());
|
| - |
|
76 |
warehouse.setStatus(3);
|
| - |
|
77 |
warehouse.setAddedOn(LocalDateTime.now());
|
| - |
|
78 |
warehouse.setLastCheckedOn(LocalDateTime.now());
|
| - |
|
79 |
warehouse.setTinNumber(null);
|
| - |
|
80 |
warehouse.setPincode(pinCode);
|
| - |
|
81 |
warehouse.setLogisticsLocation(0);
|
| - |
|
82 |
warehouse.setVendor(1);
|
| - |
|
83 |
warehouse.setBillingType(0);
|
| - |
|
84 |
warehouse.setInventoryType(InventoryType.GOOD);
|
| - |
|
85 |
warehouse.setWarehouseType(WarehouseType.OURS);
|
| - |
|
86 |
warehouse.setIsAvailabilityMonitored(1);
|
| - |
|
87 |
warehouse.setSource(0);
|
| - |
|
88 |
warehouseRepository.persist(warehouse);
|
| - |
|
89 |
warehouse.setBillingWarehouseId(warehouse.getId());
|
| - |
|
90 |
warehouse.setShippingWarehouseId(warehouse.getId());
|
| - |
|
91 |
|
| - |
|
92 |
LOGGER.info("warehouseId" + warehouse.getId());
|
| - |
|
93 |
|
| - |
|
94 |
SellerWarehouse sellerWarehouse = new SellerWarehouse();
|
| - |
|
95 |
sellerWarehouse.setActive(true);
|
| - |
|
96 |
sellerWarehouse.setWarehouseId(warehouse.getId());
|
| - |
|
97 |
sellerWarehouse.setChallanSequence(0);
|
| - |
|
98 |
sellerWarehouse.setCreateTimestamp(LocalDateTime.now());
|
| - |
|
99 |
sellerWarehouse.setInvoiceSequence(0);
|
| - |
|
100 |
sellerWarehouse.setPrefix(prefix);
|
| - |
|
101 |
sellerWarehouse.setOrderType(0);
|
| - |
|
102 |
sellerWarehouse.setSellerId(sellerId);
|
| - |
|
103 |
sellerWarehouseRepository.persist(sellerWarehouse);
|
| - |
|
104 |
|
| - |
|
105 |
WarehouseAddressMapping warehouseAddressMapping = new WarehouseAddressMapping();
|
| - |
|
106 |
warehouseAddressMapping.setAddressId(address);
|
| - |
|
107 |
warehouseAddressMapping.setCreated(LocalDateTime.now());
|
| - |
|
108 |
warehouseAddressMapping.setUpdated(null);
|
| - |
|
109 |
warehouseAddressMapping.setWarehouseId(warehouse.getId());
|
| - |
|
110 |
warehouseAddressMapping.setAddressId(address);
|
| - |
|
111 |
wareHouseAddressMappingRepository.persist(warehouseAddressMapping);
|
| - |
|
112 |
|
| - |
|
113 |
|
| - |
|
114 |
return "seller";
|
| - |
|
115 |
|
| - |
|
116 |
}
|
| - |
|
117 |
|
| - |
|
118 |
@RequestMapping(value = "/createNewSeller", method = RequestMethod.POST)
|
| - |
|
119 |
public String getNewSeller(HttpServletRequest request, @RequestParam(name = "label", required = true, defaultValue = "0") String label, @RequestParam(name = "address", required = true, defaultValue = "0") String address, @RequestParam(name = "gst", required = true, defaultValue = "0") String gst, @RequestParam(name = "state", required = true, defaultValue = "0") int state, Model model) throws Exception {
|
| - |
|
120 |
|
| - |
|
121 |
Seller seller = new Seller();
|
| - |
|
122 |
|
| - |
|
123 |
seller.setAddress(address);
|
| - |
|
124 |
seller.setLabel(label);
|
| - |
|
125 |
seller.setGstin(gst);
|
| - |
|
126 |
seller.setStateId(state);
|
| - |
|
127 |
seller.setOrganisationId(7);
|
| - |
|
128 |
sellerRepository.persist(seller);
|
| - |
|
129 |
|
| - |
|
130 |
return "seller";
|
| - |
|
131 |
|
| - |
|
132 |
}
|
| - |
|
133 |
|
| - |
|
134 |
@RequestMapping(value = "/createNewAddress", method = RequestMethod.POST)
|
| 225 |
}
|
135 |
public String getNewSeller(HttpServletRequest request, @RequestParam(name = "newAddress", required = true, defaultValue = "0") String address, @RequestParam(name = "pin", required = true, defaultValue = "0") String pin, @RequestParam(name = "stateId", required = true, defaultValue = "0") int stateId, Model model) throws Exception {
|
| - |
|
136 |
|
| - |
|
137 |
WarehouseAddressMaster wham = new WarehouseAddressMaster();
|
| - |
|
138 |
wham.setAddress(address);
|
| - |
|
139 |
wham.setPin(pin);
|
| - |
|
140 |
wham.setStateId(stateId);
|
| - |
|
141 |
wham.setContacNumber("18002700273");
|
| - |
|
142 |
wham.setContactPerson("Customer Care");
|
| - |
|
143 |
wham.setCreated(LocalDateTime.now());
|
| - |
|
144 |
wareHouseAddressMasterRepository.persist(wham);
|
| - |
|
145 |
|
| - |
|
146 |
return "seller";
|
| - |
|
147 |
|
| - |
|
148 |
}
|
| - |
|
149 |
|
| - |
|
150 |
@RequestMapping(value = "/getAllSeller", method = RequestMethod.GET)
|
| - |
|
151 |
public String getAllSeller(HttpServletRequest request, Model model) throws Exception {
|
| - |
|
152 |
|
| - |
|
153 |
List<Seller> sellers = sellerRepository.selectAll().stream().filter(x -> x.getOrganisationId() == 7).collect(Collectors.toList());
|
| - |
|
154 |
|
| - |
|
155 |
List<WarehouseAddressMaster> warehouseAddressMaster = sellerRepository.selectAllWarehouseAddressMaster();
|
| - |
|
156 |
|
| - |
|
157 |
List<State> state = stateRepository.selectAll();
|
| - |
|
158 |
LOGGER.info("statemaster" + state);
|
| - |
|
159 |
model.addAttribute("state", state);
|
| - |
|
160 |
|
| - |
|
161 |
LOGGER.info("sellerLabel" + sellers);
|
| - |
|
162 |
LOGGER.info("warehouseAddressMaster" + warehouseAddressMaster);
|
| - |
|
163 |
model.addAttribute("sellerLabel", sellers);
|
| - |
|
164 |
model.addAttribute("warehouseAddressMaster", warehouseAddressMaster);
|
| - |
|
165 |
|
| - |
|
166 |
return "seller";
|
| - |
|
167 |
}
|
| - |
|
168 |
|
| - |
|
169 |
@RequestMapping(value = "/getSellerWareHouse", method = RequestMethod.GET)
|
| - |
|
170 |
public String getSellerWareHouse(HttpServletRequest request, @RequestParam(name = "sellerId", required = true, defaultValue = "0") int sellerId, Model model) throws Exception {
|
| - |
|
171 |
|
| - |
|
172 |
List<SellerWarehouse> sellerWarehouse = sellerWarehouseRepository.selectBySellerId(sellerId);
|
| - |
|
173 |
|
| - |
|
174 |
List<WarehouseAddressMaster> allWarehouseAddressMaster = sellerRepository.selectAllWarehouseAddressMaster();
|
| - |
|
175 |
|
| - |
|
176 |
Seller seller = sellerRepository.selectById(sellerId);
|
| - |
|
177 |
|
| - |
|
178 |
|
| - |
|
179 |
List<Integer> sellerwarehouseIds = sellerWarehouse.stream().map(x -> x.getWarehouseId()).collect(Collectors.toList());
|
| - |
|
180 |
|
| - |
|
181 |
Map<Integer, WarehouseAddressMaster> wam = null;
|
| - |
|
182 |
if (sellerwarehouseIds.size() > 0) {
|
| - |
|
183 |
List<WarehouseAddressMapping> warehouseAddressMapping = wareHouseAddressMappingRepository.selectAllByIds(sellerwarehouseIds);
|
| - |
|
184 |
wam = mapWarhouseIdAndAddress(warehouseAddressMapping);
|
| - |
|
185 |
} else {
|
| - |
|
186 |
wam = new HashMap<>();
|
| - |
|
187 |
}
|
| - |
|
188 |
|
| - |
|
189 |
model.addAttribute("allWhm", allWarehouseAddressMaster);
|
| - |
|
190 |
|
| - |
|
191 |
model.addAttribute("wam", wam);
|
| - |
|
192 |
model.addAttribute("seller", seller);
|
| - |
|
193 |
model.addAttribute("sellerId", sellerId);
|
| - |
|
194 |
model.addAttribute("sellerWarehouse", sellerWarehouse);
|
| - |
|
195 |
return "seller-warehouse-container";
|
| - |
|
196 |
}
|
| - |
|
197 |
|
| - |
|
198 |
private Map<Integer, WarehouseAddressMaster> mapWarhouseIdAndAddress(
|
| - |
|
199 |
List<WarehouseAddressMapping> warehouseAddressMapping) {
|
| - |
|
200 |
Map<Integer, WarehouseAddressMaster> wam = new HashMap<>();
|
| - |
|
201 |
for (WarehouseAddressMapping wa : warehouseAddressMapping) {
|
| - |
|
202 |
WarehouseAddressMaster wm = wareHouseAddressMasterRepository.selectById(wa.getAddressId());
|
| - |
|
203 |
wam.put(wa.getWarehouseId(), wm);
|
| - |
|
204 |
}
|
| - |
|
205 |
|
| - |
|
206 |
return wam;
|
| - |
|
207 |
}
|
| 226 |
|
208 |
|
| 227 |
}
|
209 |
}
|
| 228 |
|
210 |
|