提交 25097aa1 authored 作者: chengye's avatar chengye

调整测试sql语句

上级 739d041f
...@@ -12,3 +12,4 @@ ...@@ -12,3 +12,4 @@
/phpinfo.php /phpinfo.php
/README.md /README.md
/think /think
/config/database.php
\ No newline at end of file
差异被折叠。
...@@ -42,7 +42,6 @@ class EmInvoice extends Base ...@@ -42,7 +42,6 @@ class EmInvoice extends Base
->page($Nowpage, $limits) ->page($Nowpage, $limits)
->select() ->select()
->toarray(); ->toarray();
dd(self::getLastSql());
foreach ($data as &$item){ foreach ($data as &$item){
if($item['payment_balance'] == '') $item['payment_balance'] = 0; if($item['payment_balance'] == '') $item['payment_balance'] = 0;
$item['paid_amount'] = $item['payment_amount'] - $item['payment_balance']; $item['paid_amount'] = $item['payment_amount'] - $item['payment_balance'];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论