|
|
@@ -30,7 +30,7 @@ public class WestreamActivityServiceImpl extends BaseServiceImpl<WestreamActivit |
|
|
|
|
|
|
|
@Override |
|
|
|
public JsonResult index(WestreamActivityQuery query) { |
|
|
|
if(null == query.getTenantId()){ |
|
|
|
if (null == query.getTenantId()) { |
|
|
|
return JsonResult.error("租户ID为空!"); |
|
|
|
} |
|
|
|
query.checkParam(); |
|
|
@@ -39,6 +39,7 @@ public class WestreamActivityServiceImpl extends BaseServiceImpl<WestreamActivit |
|
|
|
|
|
|
|
IPage<WestreamActivity> pageDate = westreamActivityMapper.selectPage(page, Wrappers.<WestreamActivity>lambdaQuery() |
|
|
|
.eq(WestreamActivity::getTenantId, query.getTenantId()) |
|
|
|
.eq(BaseEntity::getMark, 1) |
|
|
|
.orderByDesc(WestreamActivity::getCreateTime)); |
|
|
|
//返回图片地址匹配路径前缀 |
|
|
|
IPage<WestreamActivityVo> result = pageDate.convert(item -> { |