ZhuDeKang 5 months ago
parent
commit
d647326581

+ 6 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/domain/PtTreeCate.java

@@ -64,6 +64,12 @@ public class PtTreeCate extends BaseEntity
         this.nodeType=model;
         this.service=service;
     }
+    public PtTreeCate(String mdid, String cateid, String name, String model) {
+        this.treeId=mdid;
+        this.treePid=cateid;
+        this.itemName=name;
+        this.nodeType=model;
+    }
 
 
     public PtService getService() {