新增问诊价格修改记录
This commit is contained in:
@@ -57,4 +57,14 @@ class DoctorInquiryPriceRecord extends Model
|
||||
{
|
||||
return self::where($params)->count();
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增
|
||||
* @param array $data
|
||||
* @return DoctorInquiryPriceRecord|\Hyperf\Database\Model\Model
|
||||
*/
|
||||
public static function addRecord(array $data): \Hyperf\Database\Model\Model|DoctorInquiryPriceRecord
|
||||
{
|
||||
return self::create($data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user