소스 검색

报批默认附件信息

chenendian 6 달 전
부모
커밋
fcf9d687b5
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      siwei-modules/siwei-apply/src/main/java/com/siwei/apply/controller/NodeAttachmentController.java

+ 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 {
             //这里使用默认值
-            String tableName = AloneWorkFlowEnum.NODE_1.getTableName();
+            tableName = AloneWorkFlowEnum.NODE_1.getTableName();
             NodeAttachment nodeAttachment = new NodeAttachment();
             nodeAttachment.setId(null);
             nodeAttachment.setNodeId(null);