Pārlūkot izejas kodu

更新

tags/V1.8.0^2
xiaoying pirms 1 gada
vecāks
revīzija
125c7eed30
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt