29 lines
604 B
PHP
29 lines
604 B
PHP
<?php
|
|
/*
|
|
* @Descripttion:
|
|
* @version:
|
|
* @Author: kangkang
|
|
* @Date: 2020-10-22 16:13:41
|
|
* @LastEditors: kangkang
|
|
* @LastEditTime: 2020-10-29 17:11:13
|
|
*/
|
|
|
|
|
|
namespace app\order\model;
|
|
|
|
use fastphp\base\Model;
|
|
|
|
class FinanceOperation extends Model
|
|
{
|
|
protected $table = 'finance_op';
|
|
|
|
/**
|
|
* @description: 单独写
|
|
* @param {*}
|
|
* @return {*}
|
|
*/
|
|
public function getListSearch($where1, $where2, $fields = '*', $order = 'id desc', $limit = '50')
|
|
{
|
|
return $this->field($fields)->where($where1)->where($where2)->order($order)->limit($limit)->fetchAll();
|
|
}
|
|
} |