Subversion Repositories SmartDukaan

Rev

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

Rev 24168 Rev 24349
Line 740... Line 740...
740
			@RequestParam(name = "limit", defaultValue = "10") int limit, Model model)
740
			@RequestParam(name = "limit", defaultValue = "10") int limit, Model model)
741
			throws ProfitMandiBusinessException {
741
			throws ProfitMandiBusinessException {
742
		LOGGER.info("Request Received at url {}", request.getRequestURI());
742
		LOGGER.info("Request Received at url {}", request.getRequestURI());
743
		List<InstructionItem> instructionItems = instructionItemRepository.selectByWarehouseIdStatus(warehouseId,
743
		List<InstructionItem> instructionItems = instructionItemRepository.selectByWarehouseIdStatus(warehouseId,
744
				InstructionItemStatus.PENDING);
744
				InstructionItemStatus.PENDING);
745
		Map<Integer, String> fofoIdNameMap = retailerService.getFofoRetailerIdNameMap(
745
		Map<Integer, String> fofoIdNameMap = retailerService.getAllFofoRetailerIdNameMap(
746
				instructionItems.stream().map(InstructionItem::getFofoId).collect(Collectors.toList()));
746
				instructionItems.stream().map(InstructionItem::getFofoId).collect(Collectors.toList()));
747
 
747
 
748
		Warehouse warehouse = warehouseRepository.selectById(warehouseId);
748
		Warehouse warehouse = warehouseRepository.selectById(warehouseId);
749
		long deliveryNotesCount = adminDeliveryNoteRepository.selectAllByWarehouseIdCount(warehouseId);
749
		long deliveryNotesCount = adminDeliveryNoteRepository.selectAllByWarehouseIdCount(warehouseId);
750
 
750