摘要: 1.统计本月、上月数据 // 上月long lastMonth = new DeviceRepairs() .selectCount( Wrappers.lambdaQuery(DeviceRepairs.class) .apply( " PERIOD_DIFF( date_format( now( 阅读全文