浏览代码

更新

tags/V1.8.0^2
xiaoying 1年前
父节点
当前提交
125c7eed30
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      tuoheng-api/src/main/java/com/tuoheng/api/service/impl/WestreamActivityServiceImpl.java

+ 2
- 1
tuoheng-api/src/main/java/com/tuoheng/api/service/impl/WestreamActivityServiceImpl.java 查看文件

@@ -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 -> {

正在加载...
取消
保存