上报时,修改了ca数据的查询条件
This commit is contained in:
parent
9d7c90f86f
commit
88a6942d93
@ -423,6 +423,7 @@ class ReportRegulatoryCommand extends HyperfCommand
|
||||
$params = array();
|
||||
$params['user_id'] = $user_doctor['user_id'];
|
||||
$params['type'] = 2;
|
||||
$params['is_latest'] = 1;
|
||||
$doctor_user_ca_cert = UserCaCert::getOne($params);
|
||||
if (empty($doctor_user_ca_cert)){
|
||||
$this->line("错误:无医生ca数据");
|
||||
@ -433,6 +434,7 @@ class ReportRegulatoryCommand extends HyperfCommand
|
||||
$params = array();
|
||||
$params['user_id'] = $user_pharmacist['user_id'];
|
||||
$params['type'] = 2;
|
||||
$params['is_latest'] = 1;
|
||||
$pharmacist_user_ca_cert = UserCaCert::getOne($params);
|
||||
if (empty($pharmacist_user_ca_cert)){
|
||||
$this->line("错误:无药师ca数据");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user