vali 6 年之前
父节点
当前提交
b45738679a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      datainf/logic/HttpServerOnlySet.php

+ 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);