jxincomebegin
This commit is contained in:
@@ -2,6 +2,7 @@ package dao
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"git.rosy.net.cn/jx-callback/globals"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
@@ -1057,13 +1058,16 @@ func GetOrders(db *DaoDB, ids []int64, isIncludeSku, isIncludeFake bool, fromDat
|
|||||||
}
|
}
|
||||||
sql += `
|
sql += `
|
||||||
) a WHERE 1 = 1`
|
) a WHERE 1 = 1`
|
||||||
|
|
||||||
if params["jxIncomeBegin"] != nil {
|
if params["jxIncomeBegin"] != nil {
|
||||||
|
globals.SugarLogger.Debugf("test begin====%d", utils.MustInterface2Int64(params["jxIncomeBegin"]))
|
||||||
//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"]))
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
if params["jxIncomeEnd"] != nil {
|
if params["jxIncomeEnd"] != nil {
|
||||||
|
globals.SugarLogger.Debugf("test end=====%d", utils.MustInterface2Int64(params["jxIncomeEnd"]))
|
||||||
//if utils.MustInterface2Int64(params["jxIncomeEnd"]) != 0 {
|
//if utils.MustInterface2Int64(params["jxIncomeEnd"]) != 0 {
|
||||||
sql += " AND a.jx_income <= ?"
|
sql += " AND a.jx_income <= ?"
|
||||||
sqlParams = append(sqlParams, utils.MustInterface2Int64(params["jxIncomeEnd"]))
|
sqlParams = append(sqlParams, utils.MustInterface2Int64(params["jxIncomeEnd"]))
|
||||||
|
|||||||
Reference in New Issue
Block a user