Merge remote-tracking branch 'origin/beetlsql3-dev' into beetlsql3-dev
commit
4f08458005
@ -0,0 +1,102 @@
|
||||
//package com.ibeetl.jlw.web;
|
||||
//
|
||||
//import cn.jlw.Interceptor.SCoreUser;
|
||||
//import cn.jlw.validate.ValidateConfig;
|
||||
//import com.ibeetl.admin.core.annotation.Function;
|
||||
//import com.ibeetl.admin.core.entity.CoreUser;
|
||||
//import com.ibeetl.admin.core.file.FileService;
|
||||
//import com.ibeetl.admin.core.web.JsonResult;
|
||||
//import com.ibeetl.jlw.entity.SchoolClass;
|
||||
//import com.ibeetl.jlw.entity.SysLog;
|
||||
//import com.ibeetl.jlw.entity.Teacher;
|
||||
//import com.ibeetl.jlw.entity.TeacherOpenCourseNotice;
|
||||
//import com.ibeetl.jlw.service.SysLogService;
|
||||
//import com.ibeetl.jlw.service.TeacherService;
|
||||
//import com.ibeetl.jlw.web.query.TeacherOpenCourseNoticeQuery;
|
||||
//import org.apache.commons.lang3.StringUtils;
|
||||
//import org.apache.commons.logging.Log;
|
||||
//import org.apache.commons.logging.LogFactory;
|
||||
//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.servlet.ModelAndView;
|
||||
//
|
||||
//import java.util.Date;
|
||||
//import java.util.List;
|
||||
//
|
||||
///**
|
||||
// * 系统日志 接口
|
||||
// * 切记不要对非线程安全的静态变量进行写操作
|
||||
// */
|
||||
//
|
||||
//@RestController
|
||||
//@Validated
|
||||
//public class SysLogController {
|
||||
//
|
||||
// private final Log log = LogFactory.getLog(this.getClass());
|
||||
// private static final String MODEL = "/jlw/sysLog";
|
||||
// private static final String API = "/api/sysLog";
|
||||
//
|
||||
//
|
||||
// @Autowired private SysLogService sysLogService;
|
||||
//
|
||||
// @Autowired FileService fileService;
|
||||
//
|
||||
// /* 前端接口 */
|
||||
//
|
||||
// @PostMapping(API + "/getPageList.do")
|
||||
// public JsonResult<PageQuery> getPageList(TeacherOpenCourseNoticeQuery condition,@SCoreUser CoreUser coreUser){
|
||||
// if(null == coreUser){
|
||||
// return JsonResult.failMessage("请登录后再操作");
|
||||
// }else{
|
||||
// PageQuery page = condition.getPageQuery();
|
||||
// sysLogService.queryByConditionQuery(page);
|
||||
// return JsonResult.success(page);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
//
|
||||
// @GetMapping(API + "/getList.do")
|
||||
// public JsonResult<List<TeacherOpenCourseNotice>>getList(TeacherOpenCourseNoticeQuery param,@SCoreUser CoreUser coreUser) {
|
||||
// if(null == coreUser){
|
||||
// return JsonResult.failMessage("请登录后再操作");
|
||||
// }else{
|
||||
// List<TeacherOpenCourseNotice>list = sysLogService.getValuesByQuery(param);
|
||||
// return JsonResult.success(list);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
//
|
||||
// /* 后台页面 */
|
||||
//
|
||||
// @GetMapping(MODEL + "/index.do")
|
||||
// @Function("sysLog.query")
|
||||
// public ModelAndView index() {
|
||||
// ModelAndView view = new ModelAndView("/jlw/sysLog/index.html") ;
|
||||
// view.addObject("search", TeacherOpenCourseNoticeQuery.class.getName());
|
||||
// return view;
|
||||
// }
|
||||
//
|
||||
// /* 后台接口 */
|
||||
//
|
||||
// @PostMapping(MODEL + "/list.json")
|
||||
// @Function("sysLog.query")
|
||||
// public JsonResult<PageQuery> list(TeacherOpenCourseNoticeQuery condition){
|
||||
// PageQuery page = condition.getPageQuery();
|
||||
// sysLogService.queryByCondition(page);
|
||||
// return JsonResult.success(page);
|
||||
// }
|
||||
//
|
||||
// @GetMapping(MODEL + "/getValues.json")
|
||||
// @Function("sysLog.query")
|
||||
// public JsonResult<List<TeacherOpenCourseNotice>>getValues(TeacherOpenCourseNoticeQuery param) {
|
||||
// List<TeacherOpenCourseNotice>list = sysLogService.getValuesByQuery(param);
|
||||
// return JsonResult.success(list);
|
||||
// }
|
||||
//
|
||||
//}
|
Loading…
Reference in New Issue