09 2018 档案

摘要:@RequestMapping(value="/saveArticlesPic", method = RequestMethod.POST) @ResponseBody public Object saveArticlesPic(@RequestParam(required = false) MultipartFi... 阅读全文
posted @ 2018-09-25 10:28 石洋 阅读(185) 评论(0) 推荐(0)
摘要:向下 SELECT * FROM ( select * from ( select * from wuxing_sys_code t order by sys_sort DESC) c1, (select @pids := #{type}) c2 ... 阅读全文
posted @ 2018-09-17 14:46 石洋 阅读(932) 评论(0) 推荐(0)
摘要:private static List getBetweenDates(Date start, Date end) { List result = new ArrayList(); Calendar tempStart = Calendar.getInstance(); tempStart.setTime(start); //tem... 阅读全文
posted @ 2018-09-05 16:43 石洋 阅读(432) 评论(0) 推荐(0)
摘要:今天 select * from 表名 where to_days(时间字段名) = to_days(now()); 昨天 SELECT * FROM 表名 WHERE TO_DAYS( NOW( ) ) - TO_DAYS( 时间字段名) <= 1 7天 SELECT * FROM 表名 wher 阅读全文
posted @ 2018-09-05 14:25 石洋 阅读(273) 评论(0) 推荐(0)