finance fixbug supplier model

This commit is contained in:
qianhy
2023-02-20 15:58:46 +08:00
parent c8371c524a
commit ccc63aa530
+2 -2
View File
@@ -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;
}