Skip to content

Commit

Permalink
fix a sql error
Browse files Browse the repository at this point in the history
  • Loading branch information
liyaqin1 committed May 18, 2024
1 parent 808d0fd commit b77c75e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ public PindeployBean get(String envId) throws Exception {

@Override
public void delete(String pipeline) throws Exception {
ResultSetHandler<PindeployBean> h = new BeanHandler<PindeployBean>(PindeployBean.class);
new QueryRunner(dataSource).query(DELETE_PINDEPLOY, h, pipeline);
new QueryRunner(dataSource).update(DELETE_PINDEPLOY, pipeline);
}

@Override
Expand Down

0 comments on commit b77c75e

Please sign in to comment.