vali 6 жил өмнө
parent
commit
b45738679a

+ 2 - 0
datainf/logic/HttpServerOnlySet.php

@@ -299,6 +299,8 @@ class HttpServerOnlySet
         $ids_array = array_map(function ($i) {
             return "'$i'";
         }, $ids);
+        $ids_array = implode(",", $ids_array);
+
         $sql = "select trade_id,sum(money) as msum,money_type from money_details where trade_id in ($ids_array) and money_type = 4  group by trade_id,money_type  ";
         $ret = DB::select($sql);