Package net.risesoft.service.impl
Class TaoHongTemplateServiceImpl
- java.lang.Object
-
- net.risesoft.service.impl.TaoHongTemplateServiceImpl
-
- All Implemented Interfaces:
TaoHongTemplateService
@Service @Transactional(value="rsTenantTransactionManager", readOnly=true) public class TaoHongTemplateServiceImpl extends Object implements TaoHongTemplateService- Author:
- qinman, zhangchongjie
- Date:
- 2022/12/20
-
-
Constructor Summary
Constructors Constructor Description TaoHongTemplateServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaoHongTemplategetById(String id)根据id查找套红模板List<TaoHongTemplate>listByBureauGuid(String bureauGuid)根据委办局Id查找套红模板(委办局Id是唯一的,所以这里就不在加上租户Id这个条件)List<TaoHongTemplate>listByTenantId(String tenantId, String name)Description:查找当前租户的套红模板voidremoveTaoHongTemplate(String id)根据Id删除模板voidremoveTaoHongTemplate(String[] templateGuids)根据传进来的模板Id数组来删除模板TaoHongTemplatesaveOrUpdate(TaoHongTemplate t)新增或者修改套红模板
-
-
-
Method Detail
-
getById
public TaoHongTemplate getById(String id)
Description copied from interface:TaoHongTemplateService根据id查找套红模板- Specified by:
getByIdin interfaceTaoHongTemplateService- Returns:
-
listByBureauGuid
public List<TaoHongTemplate> listByBureauGuid(String bureauGuid)
Description copied from interface:TaoHongTemplateService根据委办局Id查找套红模板(委办局Id是唯一的,所以这里就不在加上租户Id这个条件)- Specified by:
listByBureauGuidin interfaceTaoHongTemplateService- Returns:
-
listByTenantId
public List<TaoHongTemplate> listByTenantId(String tenantId, String name)
Description copied from interface:TaoHongTemplateServiceDescription:查找当前租户的套红模板- Specified by:
listByTenantIdin interfaceTaoHongTemplateService- Returns:
-
removeTaoHongTemplate
@Transactional public void removeTaoHongTemplate(String id)
Description copied from interface:TaoHongTemplateService根据Id删除模板- Specified by:
removeTaoHongTemplatein interfaceTaoHongTemplateService
-
removeTaoHongTemplate
@Transactional public void removeTaoHongTemplate(String[] templateGuids)
Description copied from interface:TaoHongTemplateService根据传进来的模板Id数组来删除模板- Specified by:
removeTaoHongTemplatein interfaceTaoHongTemplateService
-
saveOrUpdate
@Transactional public TaoHongTemplate saveOrUpdate(TaoHongTemplate t)
Description copied from interface:TaoHongTemplateService新增或者修改套红模板- Specified by:
saveOrUpdatein interfaceTaoHongTemplateService- Returns:
-
-