This commit is contained in:
2023-03-06 15:44:21 +08:00
parent 22071904fe
commit 81d64710fd
8 changed files with 136 additions and 18 deletions
+2 -2
View File
@@ -7,7 +7,6 @@ namespace App\Model;
use Hyperf\Database\Model\Collection;
use Hyperf\Database\Model\Model;
use Hyperf\Snowflake\Concern\Snowflake;
/**
@@ -71,10 +70,11 @@ class PatientFamilyHealth extends Model
return self::where($params)->update($data);
}
/**
* 新增
* @param array $data
* @return Model|PatientFamilyHealth
* @return \Hyperf\Database\Model\Model|PatientFamilyHealth
*/
public static function addPatientFamilyHealth(array $data = []): \Hyperf\Database\Model\Model|PatientFamilyHealth
{