Subversion Repositories SmartDukaan

Rev

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

Rev 31538 Rev 35433
Line 6... Line 6...
6
import org.springframework.stereotype.Controller;
6
import org.springframework.stereotype.Controller;
7
import org.springframework.web.bind.annotation.PathVariable;
7
import org.springframework.web.bind.annotation.PathVariable;
8
import org.springframework.web.bind.annotation.RequestMapping;
8
import org.springframework.web.bind.annotation.RequestMapping;
9
 
9
 
10
import javax.servlet.http.HttpServletRequest;
10
import javax.servlet.http.HttpServletRequest;
11
import javax.transaction.Transactional;
11
import org.springframework.transaction.annotation.Transactional;
12
import java.time.YearMonth;
12
import java.time.YearMonth;
13
 
13
 
14
@Controller
14
@Controller
15
@Transactional(rollbackOn = Throwable.class)
15
@Transactional(readOnly = true, rollbackFor = Throwable.class)
16
public class MarginController {
16
public class MarginController {
17
 
17
 
18
    @Autowired
18
    @Autowired
19
    SchemeRepository schemeRepository;
19
    SchemeRepository schemeRepository;
20
 
20