类 Y9TenantSystemServiceImpl
- java.lang.Object
-
- net.risesoft.y9public.service.tenant.impl.Y9TenantSystemServiceImpl
-
- 所有已实现的接口:
Y9TenantSystemService
@Service("tenantSystemService") public class Y9TenantSystemServiceImpl extends Object implements Y9TenantSystemService- 作者:
- dingzhaojun, mengjuhua, qinman, shidaobang
-
-
构造器概要
构造器 构造器 说明 Y9TenantSystemServiceImpl()
-
方法概要
-
-
-
方法详细资料
-
delete
@Transactional(readOnly=false) public void delete(String id)
从接口复制的说明:Y9TenantSystemService根据id删除租户应用- 指定者:
delete在接口中Y9TenantSystemService- 参数:
id- 租户应用主键id
-
deleteByTenantId
@Transactional(readOnly=false) public void deleteByTenantId(String tenantId)
从接口复制的说明:Y9TenantSystemService按租户id删除- 指定者:
deleteByTenantId在接口中Y9TenantSystemService- 参数:
tenantId- 租户id
-
deleteByTenantIdAndSystemId
@Transactional(readOnly=false) public void deleteByTenantIdAndSystemId(String tenantId, String systemId)
从接口复制的说明:Y9TenantSystemService根据租户id和系统id删除- 指定者:
deleteByTenantIdAndSystemId在接口中Y9TenantSystemService- 参数:
tenantId- 租户idsystemId- 系统id
-
findById
public Optional<Y9TenantSystem> findById(String id)
从接口复制的说明:Y9TenantSystemService根据id查找租户应用- 指定者:
findById在接口中Y9TenantSystemService- 参数:
id- 租户应用主键id- 返回:
Optional<Y9TenantSystem>
-
getByTenantIdAndSystemId
public Optional<Y9TenantSystem> getByTenantIdAndSystemId(String tenantId, String systemId)
从接口复制的说明:Y9TenantSystemService通过租户id和系统id- 指定者:
getByTenantIdAndSystemId在接口中Y9TenantSystemService- 参数:
tenantId- 租户idsystemId- 系统id- 返回:
Optional<Y9TenantSystem>
-
listBySystemId
public List<Y9TenantSystem> listBySystemId(String systemId)
从接口复制的说明:Y9TenantSystemService根据系统唯一标示查找租户系统集合- 指定者:
listBySystemId在接口中Y9TenantSystemService- 参数:
systemId- 系统id- 返回:
List<Y9TenantSystem>
-
listSystemIdByTenantId
public List<String> listSystemIdByTenantId(String tenantId)
从接口复制的说明:Y9TenantSystemService根据租户id查询所关联的系统id列表- 指定者:
listSystemIdByTenantId在接口中Y9TenantSystemService- 参数:
tenantId- 租户id- 返回:
List<String>
-
listTenantIdBySystemId
public List<String> listTenantIdBySystemId(String systemId)
从接口复制的说明:Y9TenantSystemService根据系统id查询所关联的租户id- 指定者:
listTenantIdBySystemId在接口中Y9TenantSystemService- 参数:
systemId- 系统id- 返回:
List<String>
-
pageByTenantId
public org.springframework.data.domain.Page<Y9TenantSystem> pageByTenantId(String tenantId, net.risesoft.pojo.Y9PageQuery pageQuery)
从接口复制的说明:Y9TenantSystemService分页查询租户应用列表- 指定者:
pageByTenantId在接口中Y9TenantSystemService- 参数:
tenantId- 租户idpageQuery- 分页查询参数- 返回:
Page<Y9TenantSystem>
-
save
@Transactional(readOnly=false) public Y9TenantSystem save(Y9TenantSystem y9TenantSystem)
从接口复制的说明:Y9TenantSystemService保存租户应用实体类- 指定者:
save在接口中Y9TenantSystemService- 参数:
y9TenantSystem- 租户应用实体类- 返回:
Y9TenantSystem
-
saveTenantSystem
@Transactional(readOnly=false) public Y9TenantSystem saveTenantSystem(String systemId, String tenantId)
从接口复制的说明:Y9TenantSystemService保存租户租用的系统- 指定者:
saveTenantSystem在接口中Y9TenantSystemService- 参数:
systemId- 系统idtenantId- 租户id- 返回:
Y9TenantSystem
-
saveTenantSystems
@Transactional(readOnly=false) public List<Y9TenantSystem> saveTenantSystems(String[] systemIds, String tenantId)
从接口复制的说明:Y9TenantSystemService批量保存租户租用的系统- 指定者:
saveTenantSystems在接口中Y9TenantSystemService- 参数:
systemIds- 系统id数组tenantId- 租户id- 返回:
List<Y9TenantSystem>
-
listTenantBySystemId
public List<Y9Tenant> listTenantBySystemId(String systemId)
- 指定者:
listTenantBySystemId在接口中Y9TenantSystemService
-
listTenantBySystemName
public List<Y9Tenant> listTenantBySystemName(String systemName)
- 指定者:
listTenantBySystemName在接口中Y9TenantSystemService
-
listSystemByTenantId
public List<Y9System> listSystemByTenantId(String tenantId)
- 指定者:
listSystemByTenantId在接口中Y9TenantSystemService
-
-