Rev 35433 | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.web.controller;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.dao.repository.catalog.SchemeRepository;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Controller;import org.springframework.web.bind.annotation.PathVariable;import org.springframework.web.bind.annotation.RequestMapping;import javax.servlet.http.HttpServletRequest;import org.springframework.transaction.annotation.Transactional;import java.time.YearMonth;@Controller@Transactional(rollbackFor = Throwable.class)public class MarginController {@AutowiredSchemeRepository schemeRepository;@RequestMapping(value = "/magin/imeiwise/monthly/{yearMonth}")public String authorisedWarehouses(HttpServletRequest request, @PathVariable YearMonth yearMonth) throws ProfitMandiBusinessException {//schemeRepository.getImeiMarginsPaidOnBillingMonth(yearMonth);return "";}}