| | |
| | | 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; |
| | |
| | | * @date 2023/02/13 |
| | | */ |
| | | |
| | | @Api(tags = "管网一张图") |
| | | @Api(tags = "综合展示\\管网一张图") |
| | | @RestController |
| | | @RequestMapping("/oneMap") |
| | | public class OneMapController extends BaseController { |
| | |
| | | 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); |
| | | } |
| | | |
| | | |
| | | } |