jxincomebegin
This commit is contained in:
@@ -1057,14 +1057,13 @@ func GetOrders(db *DaoDB, ids []int64, isIncludeSku, isIncludeFake bool, fromDat
|
|||||||
}
|
}
|
||||||
sql += `
|
sql += `
|
||||||
) a WHERE 1 = 1`
|
) a WHERE 1 = 1`
|
||||||
|
globals.SugarLogger.Debugf("params 的type= %s,data======%d", reflect.TypeOf(params["jxIncomeBegin"]), utils.MustInterface2Int64(params["jxIncomeBegin"]))
|
||||||
if params["jxIncomeBegin"] != nil {
|
if params["jxIncomeBegin"] != nil {
|
||||||
//if utils.MustInterface2Int64(params["jxIncomeBegin"]) != 0 {
|
//if utils.MustInterface2Int64(params["jxIncomeBegin"]) != 0 {
|
||||||
sql += " AND a.jx_income >= ?"
|
sql += " AND a.jx_income >= ?"
|
||||||
sqlParams = append(sqlParams, utils.MustInterface2Int64(params["jxIncomeBegin"]))
|
sqlParams = append(sqlParams, utils.MustInterface2Int64(params["jxIncomeBegin"]))
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
utils.MustInterface2Int64(params["jxIncomeBegin"])
|
|
||||||
if params["jxIncomeEnd"] != nil {
|
if params["jxIncomeEnd"] != nil {
|
||||||
//if utils.MustInterface2Int64(params["jxIncomeEnd"]) != 0 {
|
//if utils.MustInterface2Int64(params["jxIncomeEnd"]) != 0 {
|
||||||
sql += " AND a.jx_income <= ?"
|
sql += " AND a.jx_income <= ?"
|
||||||
|
|||||||
Reference in New Issue
Block a user