@ -35,13 +35,13 @@ public class WaMessageServiceImpl extends ServiceImpl<WaMessageMapper, WaMessage
@@ -35,13 +35,13 @@ public class WaMessageServiceImpl extends ServiceImpl<WaMessageMapper, WaMessage
public R queryPage ( Map < String , Object > params ) {
Object stnmId = params . get ( "stnmId" ) ;
Object sendTime = params . get ( "sendTime" ) ;
Object sendStatus = params . get ( "sendStat us" ) ;
Object sendStatus = params . get ( "sendStaus" ) ;
IPage < WaMessage > page = this . page (
new Query < WaMessage > ( ) . getPage ( params ) ,
new QueryWrapper < WaMessage > ( )
. eq ( ObjectUtils . isNotEmpty ( stnmId ) , "stnm_id" , stnmId )
. eq ( ObjectUtils . isNotEmpty ( sendTime ) , "send_time" , sendTime )
. eq ( ObjectUtils . isNotEmpty ( sendStatus ) , "send_stat us" , sendStatus )
. eq ( ObjectUtils . isNotEmpty ( sendStatus ) , "send_staus" , sendStatus )
) ;
return R . ok ( ) . put ( "count" , page . getTotal ( ) ) . put ( "data" , page . getRecords ( ) ) ;