提交 38d28335 authored 作者: fengzy's avatar fengzy

测试付款单

上级 34c2d4ee
......@@ -88,9 +88,11 @@ class flow_oafkClassModel extends flowModel
//减去冻结金额
$cbzx_code=$vo['cbzx_code'];
$withhold_cost = m('c_withhold')->getone('cost_id='.$cbzx_code, 'id,amount');
var_dump($withhold_cost);
echo "111111111";
$sql = " cost_id='$cbzx_code' and status = 1 and is_default=1";
$fund_account_cost = m('c_fund_account')->getone($sql, 'id,freeze_amount');
var_dump($fund_account_cost);
$id=$fund_account_cost['id'];
$freeze = array(
'freeze_amount' => $fund_account_cost['freeze_amount'] - $withhold_cost['amount'],
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论