1、参数开始日期startTime、结束日期endTime
挺好用,开始日期、结束日期当天都包含进去了,如果使用qw.between("create_time", startTime, endTime)方法是不含endTime结束日期当天的
qw.apply(bCulresCardMvVO.getStartTime() != null, "date_format (create_time,'%Y-%m-%d') >= date_format ({0},'%Y-%m-%d')", bCulresCardMvVO.getStartTime()) .apply(bCulresCardMvVO.getEndTime() != null, "date_format (create_time,'%Y-%m-%d') <= date_format ({0},'%Y-%m-%d')", bCulresCardMvVO.getEndTime());
标签:-%,QueryWrapper,插件,java,format,bCulresCardMvVO,create,日期,date From: https://www.cnblogs.com/spll/p/17760154.html