Skip to content

Commit

Permalink
fix(statefulRoute): fix list column can't reach (#2953)
Browse files Browse the repository at this point in the history
  • Loading branch information
ungreat authored Jul 11, 2024
1 parent ac46fd8 commit 1a63ee6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public class DBTableColumnController {

@ApiOperation(value = "list", notes = "查询表的所有列,sid示例:sid:1000-1:d:db1:t:tb1")
@RequestMapping(value = "/list/{sid:.*}", method = RequestMethod.GET)
@StatefulRoute(stateName = StateName.DB_SESSION, stateIdExpression = "#sid")
public OdcResult<List<OdcDBTableColumn>> list(@PathVariable String sid) {
ResourceIdentifier i = ResourceIDParser.parse(sid);
ConnectionSession session = sessionService.nullSafeGet(i.getSid(), true);
Expand Down

0 comments on commit 1a63ee6

Please sign in to comment.