Ver código fonte

修改分页问题

Administrator 1 ano atrás
pai
commit
30af7678fe

+ 10 - 0
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelect.java

@@ -22,6 +22,7 @@ public class TreeSelect implements Serializable
 
     /** 节点名称 */
     private String label;
+    private String titleSize;
 
     /** 子节点 */
     @JsonInclude(JsonInclude.Include.NON_EMPTY)
@@ -42,6 +43,7 @@ public class TreeSelect implements Serializable
     {
         this.id = dept.getInvestigateDispositionId();
         this.label = dept.getTitle();
+        this.titleSize = dept.getTitleSize();
         this.children = dept.getChildren().stream().map(TreeSelect::new).collect(Collectors.toList());
     }
 
@@ -82,4 +84,12 @@ public class TreeSelect implements Serializable
     {
         this.children = children;
     }
+
+    public String getTitleSize() {
+        return titleSize;
+    }
+
+    public void setTitleSize(String titleSize) {
+        this.titleSize = titleSize;
+    }
 }

+ 1 - 0
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/InvestigateDisposition.java

@@ -169,6 +169,7 @@ public class InvestigateDisposition extends BaseEntity
                 ", ancestors='" + ancestors + '\'' +
                 ", orderNum=" + orderNum +
                 ", title='" + title + '\'' +
+                ", titleSize='" + titleSize + '\'' +
                 ", url='" + url + '\'' +
                 ", status='" + status + '\'' +
                 ", parentName='" + parentName + '\'' +