@ -886,13 +886,12 @@ class CompanyStatementController extends ThinkController
//整合数据
if ($k!='complement_down' && $k != 'complement_user') {
$lsres = $LackStatement->where("company_id={$company_info['id']} and is_pool = 0")->select();
$lsres = $LackStatement->where("company_id={$company_info['id']} and is_pool = 0 and company_type = {$company_info['company_type']}")->select();
} else {
$lsres = $LackStatement->where("company_id={$company_info['id']} and is_pool = 0 and withdraw_type = 3")->select();
$lsres = $LackStatement->where("company_id={$company_info['id']} and is_pool = 0 and withdraw_type = 3 and company_type = {$company_info['company_type']}")->select();