package cn.quantgroup.xyqb.repository;

import cn.quantgroup.xyqb.entity.UuidPhoneMapping;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by Miraculous on 15/10/29.
 */
public interface IUuidPhoneMappingRepository extends JpaRepository<UuidPhoneMapping, Long> {

    UuidPhoneMapping findByUuid(String uuid);

    @Transactional
    void deleteByUuid(String uuid);

}
