|
|
|
@ -5,8 +5,10 @@ import com.ibeetl.jlw.service.StatisticalAnalysisService;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -29,8 +31,9 @@ public class StatisticalAnalysisController {
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/detail.do")
|
|
|
|
|
public JsonResult<Object> detail(@RequestBody Map<String, Object> map) {
|
|
|
|
|
Map<String, Object> detail = statisticalAnalysisService.detail(map);
|
|
|
|
|
public JsonResult<Object> detail(@RequestParam("teacherOpenCourseId") String teacherOpenCourseId,
|
|
|
|
|
@RequestParam(required = false) Date stime, @RequestParam(required = false) Date etime) {
|
|
|
|
|
Map<String, Object> detail = statisticalAnalysisService.detail(teacherOpenCourseId, stime, etime);
|
|
|
|
|
return JsonResult.success(detail);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -41,8 +44,8 @@ public class StatisticalAnalysisController {
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/indexDetail.do")
|
|
|
|
|
public JsonResult<Object> indexDetail(@RequestBody Map<String, Object> map) {
|
|
|
|
|
Map<String, Object> detail = statisticalAnalysisService.indexDetail(map);
|
|
|
|
|
public JsonResult<Object> indexDetail(String teacherOpenCourseId) {
|
|
|
|
|
Map<String, Object> detail = statisticalAnalysisService.indexDetail(teacherOpenCourseId);
|
|
|
|
|
return JsonResult.success(detail);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|