瀏覽代碼

更新

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

Loading…
取消
儲存