提交 3d97c3a1 编写于 作者: wenhao.qin's avatar wenhao.qin

联调修改

上级 e0673895
流水线 #42933 已取消 于阶段
......@@ -28,7 +28,7 @@ public interface PermissionDoctorRoleMapper {
Integer updatePermissionModifyRecord();
int deleteByDoctorId(Long id);
int deleteByDoctorId(Map map);
List<PermissionDoctorRole> selectByRoleId(Long id);
......
......@@ -204,7 +204,11 @@ public class HospitalSaasUserServiceImpl implements HospitalSaasUserService {
account.setComment(req.getComment());
accountMapper.updateByIdSelective(account);
}
doctorRoleMapper.deleteByDoctorId(req.getId());
Map map =new HashMap(3);
map.put("id", req.getId());
map.put("modifiedId", doctorId);
map.put("modifiedTime", new Date());
doctorRoleMapper.deleteByDoctorId(map);
insertSaasRole(req, req.getId(), doctorId);
return 1;
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册