新增签名图片
This commit is contained in:
parent
da49a8273a
commit
3f8126580d
@ -2,7 +2,6 @@ package service
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
|
||||||
"hospital-admin-api/api/dao"
|
"hospital-admin-api/api/dao"
|
||||||
"hospital-admin-api/api/model"
|
"hospital-admin-api/api/model"
|
||||||
"hospital-admin-api/api/requests"
|
"hospital-admin-api/api/requests"
|
||||||
@ -178,8 +177,6 @@ func (r *UserDoctorService) PutUserDoctor(doctorId int64, putUserDoctorRequest r
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println(userDoctorData)
|
|
||||||
|
|
||||||
// 修改科室数据,重新认定为未审核
|
// 修改科室数据,重新认定为未审核
|
||||||
if userDoctor.DepartmentCustomId != departmentCustomId {
|
if userDoctor.DepartmentCustomId != departmentCustomId {
|
||||||
// 检测是否存在正在审核中的处方
|
// 检测是否存在正在审核中的处方
|
||||||
@ -356,10 +353,6 @@ func (r *UserDoctorService) PutUserDoctor(doctorId int64, putUserDoctorRequest r
|
|||||||
if len(orderPrescription) > 0 {
|
if len(orderPrescription) > 0 {
|
||||||
return false, errors.New("存在审核中的处方,请勿修改签名数据")
|
return false, errors.New("存在审核中的处方,请勿修改签名数据")
|
||||||
}
|
}
|
||||||
|
|
||||||
// 修改签名数据,重新认定为未审核
|
|
||||||
userDoctorData["multi_point_status"] = 2
|
|
||||||
userDoctorData["multi_point_fail_reason"] = ""
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user