Browse Source

ljx:修改价格指数属性

ljx 1 month ago
parent
commit
38cd814e71

+ 2 - 3
enteprise-admin/src/main/java/com/enteprise/matchAnalysis/controller/MatchController.java

@@ -31,9 +31,8 @@ public class MatchController extends BaseController {
     @PostMapping("/list")
     public TableDataInfo analysisGrowthRate(@RequestBody MatchAna matchAna)
     {
-        PageDomain pageDomain = TableSupport.buildPageRequest();
-        Integer pageNum = pageDomain.getPageNum();
-        Integer pageSize = pageDomain.getPageSize();
+        Integer pageNum = matchAna.getPageNum();
+        Integer pageSize = matchAna.getPageSize();
         List<MatchDto> list = matchService.matchAnalysisList(matchAna);
         TableDataInfo rspData = new TableDataInfo();
         rspData.setCode(HttpStatus.SUCCESS);

+ 20 - 0
enteprise-admin/src/main/java/com/enteprise/matchAnalysis/domain/MatchAna.java

@@ -19,6 +19,26 @@ public class MatchAna {
     private int manStartSeason;
     private int manEndSeason;
 
+    private int pageNum;
+
+    private int pageSize;
+
+    public int getPageNum() {
+        return pageNum;
+    }
+
+    public void setPageNum(int pageNum) {
+        this.pageNum = pageNum;
+    }
+
+    public int getPageSize() {
+        return pageSize;
+    }
+
+    public void setPageSize(int pageSize) {
+        this.pageSize = pageSize;
+    }
+
     public String getDataKey() {
         return dataKey;
     }