|
@@ -9,6 +9,7 @@ import com.diagbot.vo.QcCasesSaveVO;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -46,6 +47,7 @@ public class QcCasesController {
|
|
|
notes = "")
|
|
|
@PostMapping("/saveQcCases")
|
|
|
@SysLogger("saveQcCases")
|
|
|
+ @Transactional
|
|
|
public RespDTO<Boolean> saveQcCases(@RequestBody QcCasesSaveListVO qcCasesSaveVOList) {
|
|
|
return RespDTO.onSuc(qcCasesFacade.saveQcCases(qcCasesSaveVOList));
|
|
|
}
|