|
|
@@ -47,7 +47,10 @@ public class ThWestreamMessageServiceImpl extends ServiceImpl<ThWestreamMessageM |
|
|
|
IPage<ThWestreamMessage> page = new Page<>(query.getPage(), query.getLimit()); |
|
|
|
|
|
|
|
IPage<ThWestreamMessage> pageDate = westreamMessageMapper.selectPage(page, Wrappers.<ThWestreamMessage>lambdaQuery() |
|
|
|
.eq(ThWestreamMessage::getOpenid, query.getOpenId()).eq(ThWestreamMessage::getTenantId, query.getTenantId()).eq(BaseEntity::getMark, 1)); |
|
|
|
.eq(ThWestreamMessage::getOpenid, query.getOpenId()) |
|
|
|
.eq(ThWestreamMessage::getTenantId, query.getTenantId()) |
|
|
|
.orderByDesc(BaseEntity::getCreateTime) |
|
|
|
.eq(BaseEntity::getMark, 1)); |
|
|
|
|
|
|
|
return JsonResult.success(pageDate); |
|
|
|
} |