更新项目部分结构,新增加DB

This commit is contained in:
2024-12-19 19:20:27 +08:00
parent 0fe2624e6b
commit 992c94250d
539 changed files with 1667 additions and 1906 deletions

View File

@@ -6,17 +6,17 @@ use Carbon\Carbon;
use common\core\BaseServiceController;
use common\helpers\FuncHelper;
use common\jobs\NewSendJob;
use common\models\DoctorPatient;
use common\models\DoctorTagIll;
use common\models\Prescription;
use common\models\Register;
use common\models\User;
use common\models\UserPatient;
use common\models\UserPatientCase;
use common\models\UserPatientHealthInquiry;
use common\models\UserPatientIll;
use common\modelsgii\DoctorPatientRemark;
use common\modelsgii\PatientVisitRecord;
use common\models\oldDb\DoctorPatient;
use common\models\oldDb\DoctorTagIll;
use common\models\oldDb\Prescription;
use common\models\oldDb\Register;
use common\models\oldDb\User;
use common\models\oldDb\UserPatient;
use common\models\oldDb\UserPatientCase;
use common\models\oldDb\UserPatientHealthInquiry;
use common\models\oldDb\UserPatientIll;
use common\modelsgii\oldDb\DoctorPatientRemark;
use common\modelsgii\oldDb\PatientVisitRecord;
use common\services\ExportService;
use yii\db\Exception;
use yii\helpers\Json;
@@ -362,7 +362,7 @@ class PatientController extends BaseServiceController
->select('ti_id')
->column();
$remark = \common\models\DoctorPatientRemark::find()
$remark = \common\models\oldDb\DoctorPatientRemark::find()
->where([
'su_id' => \Yii::$app->user->identity->id,
'up_id' => $post['up_id']