提交 63a0788d 编写于 作者: rushui.chen's avatar rushui.chen

20191028 同一个账号判断多次散户粗

上级 486d1080
流水线 #16371 已失败 于阶段
in 0 second
......@@ -62,9 +62,13 @@ public class DoctorServiceImpl implements DoctorService {
public void deleteDoctorInfo(Integer id) {
//p_doctor表修改记录状态
Doctor doctor = doctorMapper.selectByPrimaryKey(id);
Integer acctId = doctor.getAcctId();
doctorMapper.updateDeleteByPrimaryKey(id);
accountInfoDetailMapper.updateDeleteByPrimaryKey(acctId);
if (doctor != null) {
Integer acctId = doctor.getAcctId();
doctorMapper.updateDeleteByPrimaryKey(id);
accountInfoDetailMapper.updateDeleteByPrimaryKey(acctId);
} else {
throw new AccountException(AccountExceptionEnum.PICA_NOT_REGISTER);
}
}
/**
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册