This commit is contained in:
suyl
2021-04-25 09:57:48 +08:00
parent f7725bcfc4
commit bcf7cf6137
4 changed files with 8 additions and 11 deletions

View File

@@ -1,7 +1,6 @@
package dao
import (
"fmt"
"sort"
"time"
@@ -1071,8 +1070,6 @@ func GetStoreAcctIncomeTotal(db *DaoDB, storeID int, incomeTypes []int, vendorOr
sql += " AND created_at <= ?"
sqlParams = append(sqlParams, toTime)
}
fmt.Println(sql)
fmt.Println(sqlParams)
if err = GetRow(db, &income, sql, sqlParams); err == nil && income != nil {
return income.IncomePrice, err
}