43r2342
This commit is contained in:
@@ -75,4 +75,15 @@ class DoctorConfigFollowPackageItem extends Model
|
||||
{
|
||||
return self::where($params)->delete();
|
||||
}
|
||||
|
||||
/**
|
||||
* 多条
|
||||
* @param array $params
|
||||
* @param array $fields
|
||||
* @return Collection|array
|
||||
*/
|
||||
public static function getOrderServicePeriodList(array $params, array $fields = ['*']): Collection|array
|
||||
{
|
||||
return self::where($params)->orderBy('service_period')->get($fields);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user