finance fixbug supplier model
This commit is contained in:
@@ -36,11 +36,11 @@ class Finance extends Wxapp{
|
||||
];
|
||||
//$count = $this->sys_finance_model->count($where);
|
||||
$where['type'] = 3;
|
||||
$count = $this->auto_supplier_model->count($where);
|
||||
$count = $this->sys_supplier_model->count($where);
|
||||
$lists = [];
|
||||
if($count){
|
||||
//$rows = $this->sys_finance_model->select($where,'id desc',$page,$size,'id,title');
|
||||
$rows = $this->auto_supplier_model->select($where,'id desc',$page,$size,'id,title');
|
||||
$rows = $this->sys_supplier_model->select($where,'id desc',$page,$size,'id,title');
|
||||
foreach($rows as $key => $val){
|
||||
$lists[] = $val;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user