|  |  |  | 
|---|
|  |  |  | package com.zy.asrs.wms.system.service.impl; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.zy.asrs.wms.system.mapper.RoleMapper; | 
|---|
|  |  |  | import com.zy.asrs.wms.system.entity.Role; | 
|---|
|  |  |  | import com.zy.asrs.wms.system.service.RoleService; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | 
|---|
|  |  |  | import org.springframework.stereotype.Service; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Service("roleService") | 
|---|
|  |  |  | public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements RoleService { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | package com.zy.asrs.wms.system.service.impl; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.zy.asrs.wms.system.mapper.RoleMapper; | 
|---|
|  |  |  | import com.zy.asrs.wms.system.entity.Role; | 
|---|
|  |  |  | import com.zy.asrs.wms.system.service.RoleService; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | 
|---|
|  |  |  | import org.springframework.stereotype.Service; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Service("roleService") | 
|---|
|  |  |  | public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements RoleService { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public int removeByHostId(Long hostId) { | 
|---|
|  |  |  | return this.baseMapper.removeByHostId(hostId); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|