|
@@ -886,7 +886,7 @@ class Report extends Command
|
|
|
private function N($param=[]){
|
|
|
$where = [];
|
|
|
if (($param['start'] != '') && ($param['end'] != '')) $where[] = ['a.createtime', 'between', [$param['start'],$param['end']]];
|
|
|
- if ($param['companyNo'] != '') $where[] = ['a.companyNo', '=', $param['companyNo']];
|
|
|
+ if ($param['companyNo'] != '') $where[] = ['a.th_companyNo', '=', $param['companyNo']];
|
|
|
$list = Db::name("th_source")
|
|
|
->alias("a")
|
|
|
->leftJoin("qrd_info b","a.th_qrdNo=b.sequenceNo or a.th_qrdNo=b.cxCode")
|