@Override
    public void setNonNullParameter(final PreparedStatement preparedStatement, final int columnIndex,
                                    final Boolean columnValue, final JdbcType jdbcType) throws SQLException {
        preparedStatement.setInt(columnIndex, columnValue ? 1 : 0);
    }
PostgreSQL's custom type handler for Boolean types.
shenyu-admin/src/main/java/org/apache/shenyu/admin/mybatis/pg/handler/PostgreSQLBooleanHandler.java