Subversion Repositories SmartDukaan

Rev

Rev 31538 | Go to most recent revision | 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(readOnly = true, rollbackFor = Throwable.class)
public class MarginController {

    @Autowired
    SchemeRepository schemeRepository;

    @RequestMapping(value = "/magin/imeiwise/monthly/{yearMonth}")
    public String authorisedWarehouses(HttpServletRequest request, @PathVariable YearMonth yearMonth) throws ProfitMandiBusinessException {
        //schemeRepository.getImeiMarginsPaidOnBillingMonth(yearMonth);
        return "";
    }
}