提交 b3c467b7 authored 作者: fengzy's avatar fengzy

'调整费用报销与借款单逻辑'

上级 22eee67a
......@@ -145,12 +145,12 @@ class flow_emfkClassModel extends flowModel
$sql = " cost_id='$cost_id' and status = 1 and is_default=1";
$fund_account_cost = m('c_fund_account')->getone($sql, 'id,freeze_amount');
var_dump($fund_account_cost);die;
$id=$fund_account_cost['id'];
$freeze = array(
'freeze_amount' => $fund_account_cost['freeze_amount'] - $vo['amount'],
);
var_dump($freeze);die;
m('c_fund_account')->update($freeze, "`id`='$id'");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论