1
0
chenendian 2 месяцев назад
Родитель
Сommit
fcf9d687b5

+ 3 - 3
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/controller/NodeAttachmentController.java

@@ -364,11 +364,11 @@ public class NodeAttachmentController extends BaseController {
     }
     }
 
 
 
 
-    @GetMapping("/defaultAttachment")
-    public R<NodeAttachment> getDefaultAttachment() {
+    @GetMapping("/defaultAttachment/{tableName}")
+    public R<NodeAttachment> getDefaultAttachment(@PathVariable String tableName) {
         try {
         try {
             //这里使用默认值
             //这里使用默认值
-            String tableName = AloneWorkFlowEnum.NODE_1.getTableName();
+            tableName = AloneWorkFlowEnum.NODE_1.getTableName();
             NodeAttachment nodeAttachment = new NodeAttachment();
             NodeAttachment nodeAttachment = new NodeAttachment();
             nodeAttachment.setId(null);
             nodeAttachment.setId(null);
             nodeAttachment.setNodeId(null);
             nodeAttachment.setNodeId(null);