Bladeren bron

更新

tags/V1.8.0^2
xiaoying 1 jaar geleden
bovenliggende
commit
125c7eed30
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  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 Bestand weergeven

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

Laden…
Annuleren
Opslaan