第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

查詢分頁(yè)失敗

@Test
public?void?selectPage()?{
????QueryWrapper<RtkHistory>?queryWrapper?=?new?QueryWrapper<RtkHistory>();
????queryWrapper.apply("date_format(create_time,'%Y-%m-%d')=?{0}"?,"2021-12-09")
????????????.and(i?->i.eq("name","溫濕度")).and(i?->i.eq("name2","temp?="));

????Page<RtkHistory>?Page?=?new?Page<RtkHistory>(1,?5);
????Page<RtkHistory>?iPage?=?rtkHistoryMapper.selectPage(Page,?queryWrapper);
????System.out.println("總頁(yè)數(shù):"?+iPage.getPages());
????System.out.println("總記錄數(shù):"?+iPage.getTotal());
????List<RtkHistory>?historyList?=?iPage.getRecords();
????for?(RtkHistory?rtkHistory?:?historyList)?{
????????System.out.println(rtkHistory);
????}

''TRACE<==? ? ? ? Row: 4356, 117, 溫濕度, 16.7, 2021-12-09 21:16:30

''TRACE<==? ? ? ? Row: 4367, 117, 溫濕度, 16.7, 2021-12-09 21:17:10

''DEBUG<==? ? ? Total: 222

'總頁(yè)數(shù):0

總記錄數(shù):0

RtkHistory(id=1969, pid=117, name=溫濕度, body=16.3, createTime=2021-12-09T14:35:01)

RtkHistory(id=1979, pid=117, name=溫濕度, body=15.2, createTime=2021-12-09T14:35:41)

RtkHistory(id=1990, pid=117, name=溫濕度, body=15.2, createTime=2021-12-09T14:36:21)

RtkHistory(id=2001, pid=117, name=溫濕度, body=15.2, createTime=2021-12-09T14:37:01)

RtkHistory(id=2012, pid=117, name=溫濕度, body=15.3, createTime=2021-12-09T14:37:41)

RtkHistory(id=2023, pid=117, name=溫濕度, body=15.3, createTime=2021-12-09T14:38:21)

RtkHistory(id=2034, pid=117, name=溫濕度, body=15.3, createTime=2021-12-09T14:39:01)


正在回答

1 回答

https://baomidou.com/pages/8f40ae/

這里是新的分頁(yè)插件的配置方法,要確保分頁(yè)插件的配置被spring正確加載

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

查詢分頁(yè)失敗

我要回答 關(guān)注問題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)