修改健康包 多点执业的判断1
This commit is contained in:
parent
0de58be7ef
commit
14b3aad401
@ -117,8 +117,8 @@ func (r *DoctorConfigHealthPackageService) PutDoctorHealth(healthPackageId int64
|
||||
maps["inquiry_mode"] = 1
|
||||
|
||||
doctorInquiryConfigDao := dao.DoctorInquiryConfigDao{}
|
||||
_, err := doctorInquiryConfigDao.GetDoctorInquiryConfig(maps)
|
||||
if err != nil && req.IsEnable == 1 {
|
||||
doctorInquiryConfig, _ := doctorInquiryConfigDao.GetDoctorInquiryConfig(maps)
|
||||
if doctorInquiryConfig == nil && req.IsEnable == 1 {
|
||||
return false, errors.New("本服务需设置图文问诊的价格,才可开启")
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user