jxincomebegin

This commit is contained in:
richboo111
2022-11-17 18:06:57 +08:00
parent 710a248f1f
commit 147a61deaf

View File

@@ -2,6 +2,7 @@ package dao
import (
"fmt"
"git.rosy.net.cn/jx-callback/globals"
"regexp"
"strconv"
"time"
@@ -1057,7 +1058,7 @@ func GetOrders(db *DaoDB, ids []int64, isIncludeSku, isIncludeFake bool, fromDat
}
sql += `
) a WHERE 1 = 1`
globals.SugarLogger.Debugf("params 的type= %s,data======%d", reflect.TypeOf(params["jxIncomeBegin"]), utils.MustInterface2Int64(params["jxIncomeBegin"]))
globals.SugarLogger.Debugf("params 的type= %T,data======%d", params["jxIncomeBegin"], utils.MustInterface2Int64(params["jxIncomeBegin"]))
if params["jxIncomeBegin"] != nil {
//if utils.MustInterface2Int64(params["jxIncomeBegin"]) != 0 {
sql += " AND a.jx_income >= ?"