| 31538 |
amit.gupta |
1 |
package com.spice.profitmandi.web.controller;
|
|
|
2 |
|
|
|
3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
|
|
4 |
import com.spice.profitmandi.dao.repository.catalog.SchemeRepository;
|
|
|
5 |
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
6 |
import org.springframework.stereotype.Controller;
|
|
|
7 |
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
8 |
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
9 |
|
|
|
10 |
import javax.servlet.http.HttpServletRequest;
|
| 35433 |
amit |
11 |
import org.springframework.transaction.annotation.Transactional;
|
| 31538 |
amit.gupta |
12 |
import java.time.YearMonth;
|
|
|
13 |
|
|
|
14 |
@Controller
|
| 35458 |
amit |
15 |
@Transactional(rollbackFor = Throwable.class)
|
| 31538 |
amit.gupta |
16 |
public class MarginController {
|
|
|
17 |
|
|
|
18 |
@Autowired
|
|
|
19 |
SchemeRepository schemeRepository;
|
|
|
20 |
|
|
|
21 |
@RequestMapping(value = "/magin/imeiwise/monthly/{yearMonth}")
|
|
|
22 |
public String authorisedWarehouses(HttpServletRequest request, @PathVariable YearMonth yearMonth) throws ProfitMandiBusinessException {
|
|
|
23 |
//schemeRepository.getImeiMarginsPaidOnBillingMonth(yearMonth);
|
|
|
24 |
return "";
|
|
|
25 |
}
|
|
|
26 |
}
|