|
@@ -5,6 +5,7 @@ import cn.com.qmth.examcloud.core.examwork.dao.bean.ExamPaperTypeDTO;
|
|
import cn.com.qmth.examcloud.core.examwork.dao.entity.ExamStudent;
|
|
import cn.com.qmth.examcloud.core.examwork.dao.entity.ExamStudent;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
@@ -15,6 +16,7 @@ import java.util.List;
|
|
/**
|
|
/**
|
|
* Created by yuanpan on 2017/4/12.
|
|
* Created by yuanpan on 2017/4/12.
|
|
*/
|
|
*/
|
|
|
|
+@Transactional
|
|
@RestController
|
|
@RestController
|
|
@RequestMapping("${$rmp.ctr.examwork}/exam_paper_type")
|
|
@RequestMapping("${$rmp.ctr.examwork}/exam_paper_type")
|
|
public class ExamPaperTypController {
|
|
public class ExamPaperTypController {
|