提交 5dddc19a authored 作者: fengzy's avatar fengzy

OA数据同步生产环境测试

上级 0ef48b92
......@@ -310,11 +310,11 @@ class flow_emfkClassModel extends flowModel
$cbzx_code= self::dept($project['data'][0]['jz_cur_dept']);
$sql = " cost_id='$cbzx_code' and status = 1 and is_default=1";
$cost = m('c_fund_account')->getone($sql, 'id,type,freeze_amount,account_balance');//查询账户表成本中心id
$cost = m('c_fund_account')->getone($sql, 'id,type,name,freeze_amount,account_balance');//查询账户表成本中心id
if($cost['type']=='1'){
if(($cost['account_balance']-$cost['freeze_amount'])<$vo['amount']){
return "账户余额不足";die;
return $cost['name']."账户余额不足";die;
}
}
$id=$cost['id'];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论