select date_sub('2017-08-31',cast(date_format('2017-08-31','u') as int)-1)

 

 FreeMarker

select '${DateUtil.getStartDate(DateUtil.addDays('2018-02-05',-7)?date('yyyy-MM-dd'),'week')?string('yyyy-MM-dd')}'

 

posted on 2017-09-12 11:22  凌度  阅读(4077)  评论(0编辑  收藏  举报