Ver código fonte

上传文件

陈士柏 2 anos atrás
pai
commit
db3c433dbe

+ 46 - 0
src/main/java/com/template/api/SmartEvaluateStudentControlle2API.java

@@ -0,0 +1,46 @@
+package com.template.api;
+
+import com.alibaba.fastjson.JSONObject;
+import com.template.model.evaluate.student.SmartEvaluateStudent;
+import com.template.model.evaluate.student.SmartSubjectTemplate;
+import com.template.model.result.CommonResult;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+
+@RequestMapping("/api/smartEvaluateStudent2")
+@Api(tags = {"SmartEvaluateStudentController2API"}, value = "学生评测2")
+public interface SmartEvaluateStudentControlle2API {
+
+    @RequestMapping(value = "/addSmartSubjectTemplate")
+    @ApiOperation(value = "新增评分项", httpMethod = "POST")
+    public CommonResult addSmartSubjectTemplate(@Validated @RequestBody JSONObject jsonObject);
+
+    @RequestMapping(value = "/updateSmartSubjectTemplate")
+    @ApiOperation(value = "修改评分项", httpMethod = "POST")
+    public CommonResult updateSmartSubjectTemplate(@Validated @RequestBody JSONObject jsonObject);
+
+    @RequestMapping(value = "/delSmartSubjectTemplate")
+    @ApiOperation(value = "删除评分项", httpMethod = "POST")
+    public CommonResult delSmartSubjectTemplate(@RequestParam Integer id);
+
+    @RequestMapping(value = "/queryTemplatePage")
+    @ApiOperation(value = "查看评分项", httpMethod = "POST")
+    public CommonResult queryTemplatePage(Integer currentPage, Integer pageCount);
+
+    @RequestMapping(value = "/queryTemplateRulePage")
+    @ApiOperation(value = "查看评分规则", httpMethod = "POST")
+    public CommonResult queryTemplateRulePage(Integer id);
+
+    @RequestMapping(value = "/evaluateScore")
+    @ApiOperation(value = "学生评分", httpMethod = "POST")
+    public CommonResult evaluateScore(Integer id, String scoreComment);
+
+    @RequestMapping(value = "/queryEvaluateStudent")
+    @ApiOperation(value = "查看评价数据", httpMethod = "POST")
+    public CommonResult queryEvaluateStudent(@Validated @RequestBody SmartEvaluateStudent smartEvaluateStudent, Integer currentPage, Integer pageCount);
+
+}