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

'测试'

上级 26c26edf
...@@ -75,10 +75,10 @@ class flow_projectfkClassModel extends flowModel ...@@ -75,10 +75,10 @@ class flow_projectfkClassModel extends flowModel
// $project=self::project($vo['cbzxid']); // $project=self::project($vo['cbzxid']);
$project=self::project('WHDF-1-03999'); $project=self::project('WHDF-1-03999');
var_dump($project); // var_dump($project);
$cbzx_code= self::dept($project['data'][0]['jz_cur_dept']); $cbzx_code= self::dept($project['data'][0]['jz_cur_dept']);
$sql = " cost_id='$cbzx_code' and status = 1 and is_default=1"; $sql = " cost_id='GS.BJ.B02.01(建设运营一中心-建设一部)' and status = 1 and is_default=1";
$cost = m('c_fund_account')->getone($sql, 'id,name,type,freeze_amount,account_balance');//查询账户表成本中心id $cost = m('c_fund_account')->getone($sql, 'id,name,type,freeze_amount,account_balance');//查询账户表成本中心id
if($cost['type']=='1'){ if($cost['type']=='1'){
if(($cost['account_balance']-$cost['freeze_amount'])<$vo['amount']){ if(($cost['account_balance']-$cost['freeze_amount'])<$vo['amount']){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论