|
@@ -89,7 +89,7 @@ public class PosterService {
|
|
}
|
|
}
|
|
|
|
|
|
public List<Poster> getByMerchantId(String merchantId) {
|
|
public List<Poster> getByMerchantId(String merchantId) {
|
|
- List<Poster> posterList = posterRepository.findByStatus(merchantId, BaseStatusEnum.NORMAL);
|
|
|
|
|
|
+ List<Poster> posterList = posterRepository.findByMerchantId(merchantId);
|
|
if (CollectionUtils.isEmpty(posterList)) {
|
|
if (CollectionUtils.isEmpty(posterList)) {
|
|
return new ArrayList<>();
|
|
return new ArrayList<>();
|
|
}
|
|
}
|
|
@@ -102,7 +102,7 @@ public class PosterService {
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|
|
|
|
|
|
- List<Poster> posterList = posterRepository.findByStatus(merchantId, BaseStatusEnum.NORMAL);
|
|
|
|
|
|
+ List<Poster> posterList = posterRepository.findByMerchantId(merchantId);
|
|
|
|
|
|
// 排序
|
|
// 排序
|
|
posterList.forEach( poster -> {
|
|
posterList.forEach( poster -> {
|