|
@@ -8,6 +8,7 @@
|
|
|
package cn.com.qmth.examcloud.core.print.api.controller;
|
|
|
|
|
|
import cn.com.qmth.examcloud.commons.web.support.ControllerSupport;
|
|
|
+import cn.com.qmth.examcloud.core.print.common.Result;
|
|
|
import cn.com.qmth.examcloud.core.print.service.PrintingProjectService;
|
|
|
import cn.com.qmth.examcloud.core.print.service.bean.PrintingProjectInfo;
|
|
|
import cn.com.qmth.examcloud.core.print.service.bean.PrintingProjectQuery;
|
|
@@ -20,6 +21,8 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import static cn.com.qmth.examcloud.core.print.common.Result.success;
|
|
|
+
|
|
|
/**
|
|
|
* 印刷项目相关接口
|
|
|
*
|
|
@@ -39,4 +42,11 @@ public class PrintingProjectController extends ControllerSupport {
|
|
|
return printingProjectService.getPrintingProjectList(query);
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/update")
|
|
|
+ @ApiOperation(value = "更新印刷项目信息")
|
|
|
+ public Result updateExamStudent(@RequestBody PrintingProjectInfo info) {
|
|
|
+ printingProjectService.updatePrintingProject(info);
|
|
|
+ return success();
|
|
|
+ }
|
|
|
+
|
|
|
}
|