| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.List; |
| | |
| | | return success(resList); |
| | | }*/ |
| | | |
| | | /** |
| | | * 根据表名查询表字段信息 |
| | | * Query table field information according to table name |
| | | */ |
| | | @ApiOperation(value = "根据表名查询表字段信息") |
| | | @GetMapping("/selectTableInfo") |
| | | public ResponseMsg<Object> selectTableInfo(@RequestParam("tableName") String tableName) { |
| | | List<String> resList = aMapOfPipelineService.queryTableInfo(tableName); |
| | | return success(resList); |
| | | } |
| | | |
| | | |
| | | } |