更新项目部分结构,新增加DB
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
namespace member\models\forms;
|
||||
|
||||
use common\core\BaseModel;
|
||||
use common\models\UserPatientHealthInquiry;
|
||||
use common\modelsgii\UserPatient;
|
||||
use common\models\oldDb\UserPatientHealthInquiry;
|
||||
use common\modelsgii\oldDb\UserPatient;
|
||||
use yii\db\Exception;
|
||||
|
||||
//健康信息form
|
||||
@@ -113,7 +113,7 @@ class HealthForm extends BaseModel
|
||||
{
|
||||
$user_id= \Yii::$app->user->identity->getId();
|
||||
|
||||
$patient = \common\models\UserPatient::findOne([
|
||||
$patient = \common\models\oldDb\UserPatient::findOne([
|
||||
'id' => $this->user_patient_id,
|
||||
'user_id' =>$user_id,
|
||||
'is_delete' => 0
|
||||
|
||||
Reference in New Issue
Block a user