|
@@ -2,6 +2,8 @@ package com.ruoyi.web.controller.system;
|
|
|
|
|
|
import java.util.List;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
+
|
|
|
+import com.ruoyi.common.utils.ServletUtils;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
@@ -55,6 +57,12 @@ public class TblFacilitiesController extends BaseController
|
|
|
@PostMapping("/list")
|
|
|
public TableDataInfo list1(@RequestBody(required = false) TblFacilities tblFacilities1)
|
|
|
{
|
|
|
+
|
|
|
+ if(tblFacilities1.getParams()!=null && tblFacilities1.getParams().get("pageSize")!=null){
|
|
|
+ ServletUtils.getRequest().setAttribute("pageSize",tblFacilities1.getParams().get("pageSize"));
|
|
|
+ ServletUtils.getRequest().setAttribute("pageNum",tblFacilities1.getParams().get("pageNum"));
|
|
|
+ }
|
|
|
+
|
|
|
startPage();
|
|
|
List<TblFacilities> list = null;
|
|
|
|