提交 37909e4e 编写于 作者: rushui.chen's avatar rushui.chen

20200106 修改删除医生的逻辑

上级 f7935d22
流水线 #20247 已失败 于阶段
in 0 second
......@@ -86,6 +86,11 @@
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>com.pica.cloud.base.doctor</groupId>
<artifactId>pica-cloud-doctor-client</artifactId>
<version>1.1.0.3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.pica.cloud.foundation</groupId>
......
......@@ -10,6 +10,7 @@ import com.pica.cloud.account.account.server.mapper.DoctorMapper;
import com.pica.cloud.account.account.server.service.DoctorService;
import com.pica.cloud.account.account.server.util.AESUtil;
import com.pica.cloud.account.account.server.util.AccountUtils;
import com.pica.cloud.base.doctor.doctor.client.DoctorServiceClient;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
......@@ -32,6 +33,9 @@ public class DoctorServiceImpl implements DoctorService {
@Autowired
private DoctorMapper doctorMapper;
@Autowired
private DoctorServiceClient doctorServiceClient;
@Autowired
private AccountInfoDetailMapper accountInfoDetailMapper;
......@@ -77,7 +81,8 @@ public class DoctorServiceImpl implements DoctorService {
HashMap<String, Long> map = new HashMap<>();
map.put("id",id.longValue());
map.put("modifyId",modifyId);
doctorMapper.updateDeleteByPrimaryKey(map);
doctorServiceClient.deleteDoctor(id.longValue(),modifyId);
//doctorMapper.updateDeleteByPrimaryKey(map);
HashMap<String, Long> acctMap = new HashMap<>();
acctMap.put("modifyId",modifyId);
acctMap.put("acctId",acctId.longValue());
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册