Commit cd263aed authored by Quxl's avatar Quxl

x

parent 9f339b91
...@@ -9,6 +9,7 @@ import org.slf4j.Logger; ...@@ -9,6 +9,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
...@@ -62,6 +63,7 @@ public class WebUtilController { ...@@ -62,6 +63,7 @@ public class WebUtilController {
} }
@ResponseBody @ResponseBody
@Transactional
@PostMapping("tryNextRound") @PostMapping("tryNextRound")
@ApiOperation("尝试进入下一轮评选") @ApiOperation("尝试进入下一轮评选")
public Object tryNextRound(Integer review_id) { public Object tryNextRound(Integer review_id) {
...@@ -71,6 +73,7 @@ public class WebUtilController { ...@@ -71,6 +73,7 @@ public class WebUtilController {
} }
@ResponseBody @ResponseBody
@Transactional
@PostMapping("initAllEnrollType") @PostMapping("initAllEnrollType")
@ApiOperation("初始化所有影片性质") @ApiOperation("初始化所有影片性质")
public Object initAllEnrollType() { public Object initAllEnrollType() {
...@@ -131,6 +134,7 @@ public class WebUtilController { ...@@ -131,6 +134,7 @@ public class WebUtilController {
} }
@ResponseBody @ResponseBody
@Transactional
@PostMapping("initAllReview") @PostMapping("initAllReview")
@ApiOperation("初始化所有审片流程") @ApiOperation("初始化所有审片流程")
public Object initAllReview() { public Object initAllReview() {
...@@ -149,6 +153,7 @@ public class WebUtilController { ...@@ -149,6 +153,7 @@ public class WebUtilController {
} }
@ResponseBody @ResponseBody
@Transactional
@PostMapping("initLogExt") @PostMapping("initLogExt")
@ApiOperation("初始化日志扩展表") @ApiOperation("初始化日志扩展表")
public Object initLogExt() { public Object initLogExt() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment