package com.template.api;

import com.alibaba.fastjson.JSONObject;
import com.template.model.evaluate.student.SmartEvaluateStudent;
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;

@RequestMapping("/api/smartEvaluateStudent")
@Api(tags = {"SmartEvaluateStudentControllerAPI"}, value = "学生评测")
public interface SmartEvaluateStudentControllerAPI {

    @RequestMapping(value = "/operateSmartSubjectManage")
    @ApiOperation(value = "学科管理", httpMethod = "POST")
    public CommonResult operateSmartSubjectManage(@Validated @RequestBody JSONObject jsonObject);

    @RequestMapping(value = "/querySubjectManage")
    @ApiOperation(value = "查看学科", httpMethod = "POST")
    public CommonResult querySubjectManage(String term);

    @RequestMapping(value = "/operateSmartSubjectRule")
    @ApiOperation(value = "操作评分标准", httpMethod = "POST")
    public CommonResult operateSmartSubjectRule(@Validated @RequestBody JSONObject jsonObject);

    @RequestMapping(value = "/querySubjectRule")
    @ApiOperation(value = "查看评分标准", httpMethod = "POST")
    public CommonResult querySubjectRule(String term);

    @RequestMapping(value = "/queryEvaluateStudent")
    @ApiOperation(value = "查看评分标准", httpMethod = "POST")
    public CommonResult queryEvaluateStudent(@Validated @RequestBody SmartEvaluateStudent smartEvaluateStudent,Integer currentPage, Integer pageCount);

    @RequestMapping(value = "/evaluateScore")
    @ApiOperation(value = "学生评分", httpMethod = "POST")
    public CommonResult evaluateScore(@Validated @RequestBody JSONObject jsonObject);

}
