This commit is contained in:
2023-10-10 14:08:51 +08:00
parent ba0e4b4b1f
commit cf016fd42a
2 changed files with 3 additions and 13 deletions
+1 -1
View File
@@ -1560,7 +1560,7 @@ func (r *UserDoctorService) PutMulti(doctorId int64, req requests.PutMulti) (boo
if req.MultiPointStatus == 1 {
// 审核通过后,创建问诊购药问诊配置
inquiryConfigService := InquiryConfigService{}
_, err = inquiryConfigService.HandleDoctorInquiryConfig(doctorId, 4, 1, 1, 0, 0)
_, err = inquiryConfigService.HandleDoctorInquiryConfig(tx, doctorId, 4, 1, 1, 0, 0)
if err != nil {
tx.Rollback()
return false, errors.New("审核失败")