标签:where div this and sum cap amount api 语句
$sql = ‘select sum(amount) as amount from option_capital where status = 2 and amount > 0 and user_id = ‘.$user_id; $ret = $this->query($sql);
标签:where div this and sum cap amount api 语句
原文地址:https://www.cnblogs.com/xiaobiaomei/p/9455739.html