This commit is contained in:
2023-04-07 17:00:01 +08:00
parent ff03d3b1e6
commit 5cb91fd4b6
4 changed files with 24 additions and 1 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ class OrderInquiry extends Model
public static function getDoctorOrderInquiryPage(array $params,array $fields = ["*"], int $page = null, ?int $per_page = 10): mixed
{
$raw = self::where($params)
->orderBy('finish_time')
->orderBy('finish_time','desc')
->paginate($per_page, $fields, "page", $page);
$data = array();