This commit is contained in:
Your Name
2026-11-14 15:19:59 +08:00
parent 08892f4270
commit a5588f89b1
476 changed files with 5768 additions and 491 deletions
@@ -9,6 +9,7 @@ use app\common\validate\BaseValidate;
class PrescriptionValidate extends BaseValidate
{
protected $rule = [
'prescription_order_id' => 'integer|gt:0',
'id' => 'require',
'diagnosis_id' => 'number',
'appointment_id' => 'number',
@@ -71,7 +72,7 @@ class PrescriptionValidate extends BaseValidate
public function sceneDetail()
{
return $this->only(['id']);
return $this->only(['id', 'prescription_order_id']);
}
public function scenePatchPatient()