$sql = ‘select sum(amount) as amount from option_capital where status = 2 and amount > 0 and user_id = ‘.$user_id; $ret = $this->query($sql);
原文地址:https://www.cnblogs.com/xiaobiaomei/p/9455739.html
时间: 2024-10-13 18:50:20
$sql = ‘select sum(amount) as amount from option_capital where status = 2 and amount > 0 and user_id = ‘.$user_id; $ret = $this->query($sql);
原文地址:https://www.cnblogs.com/xiaobiaomei/p/9455739.html