2.28号功能提交

master
zhengyongxing 4 years ago
parent 0be51f4d62
commit 9837ba3682

@ -312,11 +312,11 @@ class CompanyStatementPoolController extends ThinkController
$infolist = SM("company_statement_info","tab_")->field("*,'1' as st")->where("pool_id = '{$id}' and pay_status!=1")->select(); $infolist = SM("company_statement_info","tab_")->field("*,'1' as st")->where("pool_id = '{$id}' and pay_status!=1")->select();
//获取母单 //获取母单
$pool_info = SM("company_statement_pool","tab_")->field('wm_statement_ids,statement_num,create_lack_ids,verify_status,is_payment,withdraw_type,statement_begin_time,statement_end_time')->where("id={$id}")->find(); $pool_info = SM("company_statement_pool","tab_")->field('wm_statement_ids,statement_num,create_lack_ids,verify_status,is_payment,withdraw_type,statement_begin_time,statement_end_time')->where("id={$id}")->find();
// if(!empty($pool_info['create_lack_ids'])){ if(!empty($pool_info['create_lack_ids'])){
// $l_ids = $pool_info['create_lack_ids']; $l_ids = $pool_info['create_lack_ids'];
// $lack_info = SM("company_lack_statement_info","tab_")->field("*,'0' as st")->where("id in ({$l_ids})")->select(); $lack_info = SM("company_lack_statement_info","tab_")->field("*,'0' as st")->where("id in ({$l_ids})")->select();
// $infolist =array_merge($infolist,$lack_info); $infolist =array_merge($infolist,$lack_info);
// } }
// dump($infolist);die(); // dump($infolist);die();
@ -1906,7 +1906,7 @@ class CompanyStatementPoolController extends ThinkController
$clsi = SM("company_lack_statement_info","tab_")->where("is_pool = 1 and id in ({$create_lack_ids})")->find(); $clsi = SM("company_lack_statement_info","tab_")->where("is_pool = 1 and id in ({$create_lack_ids})")->find();
$re_op = true; $re_op = true;
if(!empty($clsi)){ if(!empty($clsi)){
// $re_op = false; //被引用无法重算 $re_op = false; //被引用无法重算
} }
} }
if($re_op){ if($re_op){

Loading…
Cancel
Save