mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
删除无用语句
This commit is contained in:
parent
bda336dff5
commit
36ca320922
@ -2,7 +2,6 @@ package plugin_setutime
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"errors"
|
||||
"reflect"
|
||||
"strings"
|
||||
|
||||
@ -134,7 +133,7 @@ func (db *Sqlite) Select(table string, objptr interface{}, condition string) (er
|
||||
return err
|
||||
}
|
||||
}
|
||||
return errors.New("数据库无此条件项目")
|
||||
return nil
|
||||
}
|
||||
|
||||
// Delete 删除数据库
|
||||
|
||||
Loading…
Reference in New Issue
Block a user