|
|
|
@ -16,10 +16,7 @@ import org.beetl.sql.core.engine.PageQuery;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.validation.BindingResult;
|
|
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
@ -94,7 +91,7 @@ public class TeacherOpenCourseStudentSigninSettingController{
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping(API + "/add.do")
|
|
|
|
|
public JsonResult addDo(
|
|
|
|
|
@Validated(ValidateConfig.ADD.class)
|
|
|
|
|
@Validated(ValidateConfig.ADD.class) @RequestBody
|
|
|
|
|
TeacherOpenCourseStudentSigninSettingQuery teacherOpenCourseStudentSigninSettingQuery,
|
|
|
|
|
BindingResult result,@SCoreUser CoreUser coreUser){
|
|
|
|
|
if(result.hasErrors()){
|
|
|
|
|