Skip to content

Commit

Permalink
删除无用语句
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Aug 2, 2021
1 parent bda336d commit 36ca320
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugin_setutime/sqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package plugin_setutime

import (
"database/sql"
"errors"
"reflect"
"strings"

Expand Down Expand Up @@ -134,7 +133,7 @@ func (db *Sqlite) Select(table string, objptr interface{}, condition string) (er
return err
}
}
return errors.New("数据库无此条件项目")
return nil
}

// Delete 删除数据库
Expand Down

0 comments on commit 36ca320

Please sign in to comment.