Subversion Repositories SmartDukaan

Rev

Rev 26279 | Rev 26290 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 26279 Rev 26280
Line 475... Line 475...
475
		return "feature";
475
		return "feature";
476
 
476
 
477
	}
477
	}
478
 
478
 
479
	@PostMapping(value = "/imei/upload")
479
	@PostMapping(value = "/imei/upload")
480
	public boolean uploadContent(HttpServletRequest request, @RequestParam String brand,  @RequestPart("file") MultipartFile file, Model model)
480
	public boolean uploadContent(HttpServletRequest request, @RequestPart("file") MultipartFile file, Model model)
481
			throws Exception {
481
			throws Exception {
482
		/*if(brand==null) {
482
		/*if(brand==null) {
483
			throw new ProfitMandiBusinessException("Please select brand", "Brand empty", "Brand required");
483
			throw new ProfitMandiBusinessException("Please select brand", "Brand empty", "Brand required");
484
		}*/
484
		}*/
485
		List<CSVRecord> masterDataList = readFile(file);
485
		List<CSVRecord> masterDataList = readFile(file);