Files
pgserver3.0/pgserver/application/model/ReturnPrice.php
annnj-company 130c1026c4 first commit
2026-04-17 18:29:53 +08:00

34 lines
609 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
namespace app\model;
use think\Db;
use think\Log;
/**
* Class AbcGuarantee
* @package app\model
* @author:
*/
class ReturnPrice extends Base
{
protected $autoWriteTimestamp = true;
/**
* 通过InquiryDetail获取最新一条回价信息
*
* @return 返回一条find()结果Array or NULL
*/
public function getNewInfoByInquiryDetailID( $inquiryDetailID )
{
$where = array(
'property_cert_info_id' => $inquiryDetailID
);
$info = $this->where($where)->order('create_time desc')->find();
return $info;
}
}