- change skuName place bind to bare bind.

This commit is contained in:
gazebo
2018-09-13 21:49:00 +08:00
parent 99c60d2233
commit 20c3c0341a
3 changed files with 43 additions and 16 deletions

View File

@@ -216,7 +216,7 @@ func DeleteEntityLogically(db *DaoDB, item interface{}, conditions map[string]in
return num, err
}
func UpdateBySQL(db *DaoDB, sql string, params ...interface{}) (num int64, err error) {
func ExecuteSQL(db *DaoDB, sql string, params ...interface{}) (num int64, err error) {
if db == nil {
db = GetDB()
}