修改 处理科室问题-更新云证书
This commit is contained in:
parent
2a63eb3431
commit
9614b20a9a
@ -602,18 +602,18 @@ func (r *UserDoctorService) PutUserDoctor(doctorId int64, req requests.PutUserDo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 处理科室问题-更新云证书
|
// // 处理科室问题-更新云证书-暂时不更新,更新时调用EditUserCloudCert方法,内部查询的数据还是更新前的数据
|
||||||
if userDoctor.DepartmentCustomId != departmentCustomId {
|
// if userDoctor.DepartmentCustomId != departmentCustomId {
|
||||||
if userDoctor.IdenAuthStatus == 1 {
|
// if userDoctor.IdenAuthStatus == 1 {
|
||||||
// 更新云证书
|
// // 更新云证书
|
||||||
userCaCertService := UserCaCertService{}
|
// userCaCertService := UserCaCertService{}
|
||||||
_, err = userCaCertService.EditUserCloudCert(tx, userDoctor.UserId)
|
// _, err = userCaCertService.EditUserCloudCert(tx, userDoctor.UserId)
|
||||||
if err != nil {
|
// if err != nil {
|
||||||
tx.Rollback()
|
// tx.Rollback()
|
||||||
return false, errors.New(err.Error())
|
// return false, errors.New(err.Error())
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
// 判断头像是否修改,同步修改im
|
// 判断头像是否修改,同步修改im
|
||||||
if userDoctor.Avatar != avatar {
|
if userDoctor.Avatar != avatar {
|
||||||
|
|||||||
BIN
output.xlsx
BIN
output.xlsx
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user