转接方分账

This commit is contained in:
李琦
2026-02-06 08:44:31 +08:00
parent 9680542b9e
commit e4eecfe9e1
5 changed files with 318 additions and 54 deletions

View File

@@ -57,6 +57,11 @@ class Register extends \common\modelsgii\oldDb\Register
public function getPrescription(){
return $this->hasMany(Prescription::class, ['register_id' => 'id']);
}
//转诊记录
public function getTransferPrescription()
{
return $this->hasOne(TransferPrescription::class, ['id' => 'transfer_prescription_id']);
}
//健康信息
public function getHealthInquery()
{