|
@@ -156,7 +156,7 @@ public class DoctorServiceImpl implements DoctorService {
|
|
|
dbDoctor = doctorMapper.getDoctorById(doctorId);
|
|
|
}
|
|
|
// 供应商保存,直接上线;机构保存,需要供应商审核通过后才上线
|
|
|
- if (null != dbDoctor && 1 != dbDoctor.getAuditStatus()) {
|
|
|
+ if (null != dbDoctor && null != dbDoctor.getAuditStatus() && 1 != dbDoctor.getAuditStatus()) {
|
|
|
// 被驳回的数据,编辑变为待审核状态
|
|
|
doctor.setStatus(2);
|
|
|
doctor.setAuditStatus(2);
|