|
@@ -825,8 +825,9 @@ func SearchList(operator Operator) (int64, *[]map[string]interface{}) {
|
|
id := gconv.String(v["id"])
|
|
id := gconv.String(v["id"])
|
|
idArr = append(idArr, id)
|
|
idArr = append(idArr, id)
|
|
}
|
|
}
|
|
|
|
+
|
|
sqlStr := fmt.Sprintf(`select * from customer_data where FIND_IN_SET (id,?) %s `, mysqlOrderStr)
|
|
sqlStr := fmt.Sprintf(`select * from customer_data where FIND_IN_SET (id,?) %s `, mysqlOrderStr)
|
|
- fmt.Println(sqlStr)
|
|
|
|
|
|
+ fmt.Println(sqlStr, strings.Join(idArr, ","))
|
|
data = IC.BiMysql.SelectBySql(sqlStr,
|
|
data = IC.BiMysql.SelectBySql(sqlStr,
|
|
strings.Join(idArr, ","))
|
|
strings.Join(idArr, ","))
|
|
return count, data
|
|
return count, data
|