搜索跟进记录

This commit is contained in:
“wanyongkang”
2022-01-15 09:55:38 +08:00
parent f60eb15828
commit 51862e0410
2 changed files with 26 additions and 3 deletions

View File

@@ -2,8 +2,8 @@
/*
* @Author: your name
* @Date: 2020-09-30 17:32:46
* @LastEditTime: 2020-11-17 15:17:09
* @LastEditors: kangkang
* @LastEditTime: 2022-01-15 09:41:34
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /phptest/fastphp/base/Model.php
*/
@@ -71,6 +71,16 @@ class Model extends Sql
{
return $this->field($fields)->where($where)->fetch();
}
/**
* @description: 获取一条数据
* @param {type}
* @return {type}
*/
public function getOneByStr($where = "", $fields = '*')
{
return $this->field($fields)->where($where)->fetch();
}
/**
* @description: 获取最新一条数据