添加字段和表
parent
523e80e9b1
commit
74a444de38
|
@ -1,5 +1,6 @@
|
|||
package com.muyu.common.domian.req;
|
||||
|
||||
import cn.hutool.log.Log;
|
||||
import com.muyu.common.domian.vo.TableVo;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
|
@ -37,7 +38,7 @@ public class InputAddReq {
|
|||
/**
|
||||
* 表名称
|
||||
*/
|
||||
private String tableName;
|
||||
private String tableName;
|
||||
|
||||
/**
|
||||
* 表别名
|
||||
|
@ -46,7 +47,7 @@ public class InputAddReq {
|
|||
/**
|
||||
* 字段
|
||||
*/
|
||||
List<TableVo> list;
|
||||
private List<TableVo> list;
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -2,10 +2,12 @@ package com.muyu.task.server.controller;
|
|||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.muyu.common.core.domain.Result;
|
||||
import com.muyu.common.domian.Structure;
|
||||
import com.muyu.common.domian.TaskInput;
|
||||
import com.muyu.common.domian.req.*;
|
||||
import com.muyu.common.domian.resp.TaskInputResp;
|
||||
import com.muyu.common.domian.vo.TableVo;
|
||||
import com.muyu.task.server.service.StructureService;
|
||||
import com.muyu.task.server.service.TaskInputService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
@ -24,6 +26,9 @@ public class TaskInputController {
|
|||
@Autowired
|
||||
private TaskInputService taskInputService;
|
||||
|
||||
@Autowired
|
||||
private StructureService structureService;
|
||||
|
||||
/**
|
||||
* 获取所有的任务信息
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue