|
@@ -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);
|