Subversion Repositories SmartDukaan

Rev

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

Rev 31618 Rev 31619
Line 1015... Line 1015...
1015
	}
1015
	}
1016
 
1016
 
1017
	@Autowired
1017
	@Autowired
1018
	WarehouseInventoryItemRepository warehouseInventoryItemRepository;
1018
	WarehouseInventoryItemRepository warehouseInventoryItemRepository;
1019
	public void test() throws Exception {
1019
	public void test() throws Exception {
1020
		//this.sendMailForSamsungRebilling();
1020
		this.sendMailForSamsungRebilling();
1021
	}
1021
	}
1022
 
1022
 
1023
	public void sendMailForSamsungRebilling() throws Exception {
1023
	public void sendMailForSamsungRebilling() throws Exception {
1024
		List<BilledImeiModel> samsungModels = warehouseInventoryItemRepository.findByBillingDateBrand(LocalDate.now(), "Samsung");
1024
		List<BilledImeiModel> samsungModels = warehouseInventoryItemRepository.findByBillingDateBrand(LocalDate.now(), "Samsung");
1025
		LOGGER.info("SamsungModels {}", samsungModels);
1025
		LOGGER.info("SamsungModels {}", samsungModels);