/** * Created by zhangshujun on 2018/8/25 * Descr: 获取班级的月历 42天 传过来 年月 例:2018-09 *//* @RequestMapping(value = "class/{uuid}/schedule", method = RequestMethod.GET) public Object getClassCourse(@PathVariable String uuid, String time, HttpServletRequest request) throws Exception { logger.info("获取班级的月历表"); OManagerEntity oManagerEntity = ims.getOManagerEntity(LoginUtil.getLoginUuidFromToken(request)); SimplePageQuery simplePageQuery=new SimplePageQuery(); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM"); Integer page = null; if (time == null || time.equals("")) { Date date = new Date(); String riqi = sdf.format(date); time = riqi; } Date date = sdf.parse(time); SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-01"); String sds = sdf1.format(date); Date yihao = sdf1.parse(sds); //得到一号的周一 Date zhouyi = DateGet.getMonday(yihao); Map<String, Object> map = service.getclasstime(zhouyi, sds, oManagerEntity.getSchoolUuid(), uuid, page); return GenerateRes.generateOkRes(map); }*/
(备份)获取班级的月历 42天 传过来 年月 例:2018-09
猜你喜欢
转载自www.cnblogs.com/sonder/p/9650056.html
今日推荐
周排行