/**
//===================前端js调用==================
ceshi()
function ceshi(){
var judgmentListQuestionParamsAndSave = [];
judgmentListQuestionParamsAndSave.push({
'questionId':970,
'questionType':1,
'correct':'B',
'correctClient':'B',
'haveOp':1
});
judgmentListQuestionParamsAndSave.push({
'questionId':972,
'questionType':1,
'correct':'D',
'correctClient':'D',
'haveOp':1
});
judgmentListQuestionParamsAndSave.push({
'questionId':1070,
'questionType':2,
'correct':'ABCDEFG',
'correctClient':'ABCDEFG',
'haveOp':1
});
judgmentListQuestionParamsAndSave.push({
'questionId':971,
'questionType':2,
'correct':'ABD',
'correctClient':'ABD',
'haveOp':1
});
judgmentListQuestionParamsAndSave.push({
'questionId':1066,
'questionType':3,
'correct':'1',
'correctClient':'1',
'haveOp':1
});
judgmentListQuestionParamsAndSave.push({
'questionId':1067,
'questionType':3,
'correct':'1',
'correctClient':'1',
'haveOp':1
});
$.ajax({
// headers必须添加,否则会报415错误
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
type: 'POST',
dataType: "json", //表示返回值类型,不必须
data: JSON.stringify(judgmentListQuestionParamsAndSave),
url: '${GLOB_HOME}/qExamRecord/judgmentListQuestionParamsAndSave/5/1/1/120000',
success: function(data){
console.log("===ceshi====");
console.log(data);
}
});
}
*/
@SuppressWarnings({ "unchecked", "rawtypes" })
@RequestMapping(value="/judgmentListQuestionParamsAndSave/{exampaperId}/{examMode}/{paperType}/{questioningTime}",method=RequestMethod.POST)
public Object judgmentListQuestionParamsAndSave(@RequestBody List<QuestionJudgmentParam> listVideo,
@PathVariable int exampaperId,
@PathVariable int examMode,
@PathVariable int paperType,
@PathVariable int questioningTime,
HttpServletRequest request){
//TODO
}
POJO,省去geter/serter
public class QuestionJudgmentParam {
private int haveOp;
private int questionId;
private int questionType;
private String correct;
private String correctClient;
private int testResult;
//geter/serter
}