| | |
| | | return true; |
| | | } |
| | | |
| | | /** |
| | | * 根据userid删除医生数据 |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | @Override |
| | | public int deleteByUserId(Long userId) { |
| | | Map<String, Object> params = new HashMap<>(); |
| | | params.put("userId", userId); |
| | | return baseMapper.deleteByMap(params); |
| | | } |
| | | @Override |
| | | public ResultBody enable(Map<String, Object> params) { |
| | | Long aLong = MapUtils.getLong(params,"id"); |
| | |
| | | } |
| | | |
| | | @Override |
| | | @Transactional |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public boolean saveOrUpdateSer(SysDoctorDto sysDoctor, HttpServletRequest request,SysUser user) { |
| | | String id = request.getHeader(SecurityConstants.USER_ID_HEADER); |
| | | if(null==sysDoctor){ |
| | |
| | | } |
| | | |
| | | @Override |
| | | @Transactional |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public ResultBody setAdminDoctor(Map<String, Object> params) { |
| | | Long id = MapUtils.getLong(params, "id"); |
| | | Long adminId = MapUtils.getLong(params, "adminId"); |