This commit is contained in:
2023-08-22 17:16:25 +08:00
parent b9d3cd09a3
commit a6a423f720
2 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -487,7 +487,7 @@ class DetectionService extends BaseService
$params = array();
$params['patient_id'] = $user_info['client_user_id'];
$params['family_id'] = $family_id;
$order_detection = OrderDetection::getOne($params);
$order_detection = OrderDetection::getLastOne($params);
if (empty($order_detection)){
return success();
}