aa
This commit is contained in:
@@ -550,8 +550,8 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa
|
||||
SELECT
|
||||
SQL_CALC_FOUND_ROWS
|
||||
DISTINCT t1.*,
|
||||
-- CAST(t1.lng AS DECIMAL(15,6))/1000000 float_lng,
|
||||
-- CAST(t1.lat AS DECIMAL(15,6))/1000000 float_lat,
|
||||
CAST(t1.lng AS DECIMAL(15,6))/1000000 float_lng,
|
||||
CAST(t1.lat AS DECIMAL(15,6))/1000000 float_lat,
|
||||
IF(mm.name <> '', mm.name, mm.user_id2) market_man_name,
|
||||
bank.value payee_bank_name,
|
||||
IF(om.name <> '', om.name, om.user_id2) operator_name,
|
||||
@@ -579,7 +579,7 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa
|
||||
//mapLimit := false
|
||||
//globals.SugarLogger.Debug(sql)
|
||||
//globals.SugarLogger.Debug(utils.Format4Output(sqlParams, false))
|
||||
txDB , _ := dao.Begin(db)
|
||||
txDB, _ := dao.Begin(db)
|
||||
if err = dao.GetRowsTx(txDB, &storeList, sql, sqlParams...); err == nil {
|
||||
retVal.Stores = storeList
|
||||
retVal.TotalCount = dao.GetLastTotalRowCount2(db, txDB)
|
||||
|
||||
Reference in New Issue
Block a user