|
@@ -16,6 +16,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
@@ -40,6 +41,9 @@ public class ActivityRecommendController extends BaseController {
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo<ActivityRecommendVo> list(ActivityRecommendQueryBo bo) {
|
|
|
startPage();
|
|
|
+ List<Integer> statusList = new ArrayList<>();
|
|
|
+ statusList.add(1);
|
|
|
+ bo.setStatusList(statusList);
|
|
|
List<ActivityRecommendVo> list = iActivityRecommendService.selectList(bo);
|
|
|
return getDataTable(list);
|
|
|
}
|