WH01243 7 сар өмнө
parent
commit
a5de35b631

+ 1 - 1
jyBXCore/rpc/service/operator.go

@@ -796,7 +796,7 @@ func SearchList(operator Operator) (int64, *[]map[string]interface{}) {
 			id := gconv.String(v["id"])
 			idArr = append(idArr, id)
 		}
-		data = IC.BiMysql.SelectBySql("select  * from customer_data where  id  in  (?) ",
+		data = IC.BiMysql.SelectBySql("select  * from customer_data where  FIND_IN_SET (id,?) ",
 			strings.Join(idArr, ","))
 		return count, data
 	} else {