Browse Source

修改轮播图

feature/v.2.0.0
caoyizhong 3 years ago
parent
commit
53f8fe6e92
  1. 4
      air/src/main/java/com/air/applets/controller/RotateImageController.java

4
air/src/main/java/com/air/applets/controller/RotateImageController.java

@ -56,7 +56,9 @@ public class RotateImageController {
return R.ok(null, "未查询到数据");
}
List<RotateImage> list = rotateImageService.list(Wrappers.<RotateImage>query().lambda()
.eq(RotateImage::getGroupId, group.getGroupId()).orderByDesc(RotateImage::getCreateDate));
.eq(RotateImage::getGroupId, group.getGroupId())
.eq(RotateImage::getStatusCd,1000)
.orderByDesc(RotateImage::getCreateDate));
if (CollectionUtil.isNotEmpty(list)) {
list.stream().forEach(e -> {
e.setImagePath(fileUtil.getUrlByInnerPath(e.getImagePath()));

Loading…
Cancel
Save