@Override @Transactional(propagation = Propagation.REQUIRED, readOnly = false) public DefTypeEntity saveTypeEntity(DefTypeEntity entity) { return defTypeRepository.save(entity); }
@Override @Transactional(propagation = Propagation.REQUIRED, readOnly = false) public void deleteTypeEntity(DefTypeEntity entity) { defTypeRepository.delete(entity); }
@Override @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public List<DefTypeEntity> getTypeList(EnumList.DefTypeGroupEnum groupEnum) { return defTypeRepository.getTypeList(groupEnum.name()); }