| | |
| | | import com.kidgrow.oprationcenter.service.IAdvisoryDoctorInfoService; |
| | | import com.kidgrow.oprationcenter.service.IAppointmentTimeService; |
| | | import com.kidgrow.redis.util.RedisUtils; |
| | | import com.kidgrow.user.feign.DoctorAnswerUserRelationService; |
| | | import com.kidgrow.user.feign.UserInfoService; |
| | | import com.kidgrow.user.model.UserInfo; |
| | | import com.kidgrow.usercenter.feign.SysDoctorService; |
| | |
| | | @Autowired |
| | | private RedisUtils redisUtils; |
| | | |
| | | @Autowired |
| | | private DoctorAnswerUserRelationService doctorAnswerUserRelationService; |
| | | |
| | | /** |
| | | * 医生列表 |
| | | * |
| | |
| | | */ |
| | | @Override |
| | | public int removeById(Long id) { |
| | | return baseMapper.removeById(id); |
| | | ResultBody resultBody = doctorAnswerUserRelationService.deletByDoctorId(String.valueOf(id)); |
| | | log.info("删除医生关系返回值=>" + resultBody); |
| | | |
| | | appointmentTimeService.delByAdvisoryId(id); |
| | | baseMapper.removeById(id); |
| | | return 1; |
| | | } |
| | | |
| | | /** |