|
@@ -64,7 +64,7 @@ class GoodCatCheck extends Command
|
|
|
$temp = [
|
|
|
'thing18'=>['value'=>$methodArr[$method]],
|
|
|
'thing24'=>['value'=>$company],
|
|
|
- 'thing10'=>['value'=>"带财务审核"],
|
|
|
+ 'thing10'=>['value'=>"待财务审核"],
|
|
|
'character_string26'=>['value'=>$goodBasicNum],
|
|
|
'time25'=>['value'=>date('Y-m-d H:i:s')],
|
|
|
];
|
|
@@ -101,11 +101,12 @@ class GoodCatCheck extends Command
|
|
|
["ConsultOrder.is_del","=",0],
|
|
|
["tax_status","=",0],
|
|
|
["consult_bids.is_del","=",0],
|
|
|
+ ['ConsultInfo.bargain_status','=',0],
|
|
|
];
|
|
|
if($companyNo!=''){
|
|
|
$where[] = ['ConsultOrder.companyNo','=',$companyNo];
|
|
|
}
|
|
|
- return ConsultBids::withJoin(["ConsultOrder"])
|
|
|
+ return ConsultBids::withJoin(["ConsultOrder","ConsultInfo"],"LEFT")
|
|
|
->where( $where ) ->count();
|
|
|
}
|
|
|
}
|