jxincomebegin
This commit is contained in:
@@ -2,6 +2,8 @@ package dao
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"reflect"
|
||||
"regexp"
|
||||
"strconv"
|
||||
"time"
|
||||
@@ -1057,12 +1059,14 @@ 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"]))
|
||||
if params["jxIncomeBegin"] != nil {
|
||||
//if utils.MustInterface2Int64(params["jxIncomeBegin"]) != 0 {
|
||||
sql += " AND a.jx_income >= ?"
|
||||
sqlParams = append(sqlParams, utils.MustInterface2Int64(params["jxIncomeBegin"]))
|
||||
//}
|
||||
}
|
||||
utils.MustInterface2Int64(params["jxIncomeBegin"])
|
||||
if params["jxIncomeEnd"] != nil {
|
||||
//if utils.MustInterface2Int64(params["jxIncomeEnd"]) != 0 {
|
||||
sql += " AND a.jx_income <= ?"
|
||||
|
||||
@@ -3,7 +3,6 @@ package dao
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"sort"
|
||||
"strings"
|
||||
"time"
|
||||
@@ -1635,6 +1634,5 @@ func InsertIntoFreightTemplate(storeID int, vendorStoreID string, templateID, wa
|
||||
//只获取美团平台的京西storeID
|
||||
func GetCodeAndIDByMeiTuan(vendorStoreID string) (storeID int, err error) {
|
||||
err = GetRow(GetDB(), &storeID, "SELECT s.store_id FROM store_map s WHERE s.vendor_store_id = ? AND s.vendor_id = ? ", vendorStoreID, model.VendorIDMTWM)
|
||||
globals.SugarLogger.Debugf("GetCodeAndIDByMeiTuan storeID===========%d", storeID)
|
||||
return storeID, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user