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

调整测试sql语句

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