|
|
|
@ -1,5 +1,7 @@
|
|
|
|
|
package com.ibeetl.jlw.web.api;
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.date.DateTime;
|
|
|
|
|
import cn.hutool.core.date.DateUtil;
|
|
|
|
|
import cn.jlw.Interceptor.SCoreUser;
|
|
|
|
|
import cn.jlw.Interceptor.TStudent;
|
|
|
|
|
import cn.jlw.Interceptor.TTeacher;
|
|
|
|
@ -17,6 +19,7 @@ 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.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
@ -70,4 +73,14 @@ public class IndexBaseController {
|
|
|
|
|
}
|
|
|
|
|
return JsonResult.success(resourcesApplicationService.queryMyApplicationByConditionQuery(pageQuery));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 时间从一台机器上面取,控制时间变量
|
|
|
|
|
* 获取系统时间
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping(API + "/dateTime.do")
|
|
|
|
|
public DateTime dateTime() {
|
|
|
|
|
return DateUtil.date();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|