package com.ff.weijinxiao.repository;


import com.ff.weijinxiao.domain.Goods;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface GoodsRepository extends JpaRepository<Goods, Integer>, JpaSpecificationExecutor<Goods> {
    Goods findByOnlyID(String onlyID);

    Goods findByNameAndUid(String name, String uid);
}
