huangzhen
2023-08-16 7b1878ed989949cb4a7aa16adab6fbe48b5325ea
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.gkhy.fourierSpecialGasMonitor.repository;
 
 
import com.gkhy.fourierSpecialGasMonitor.entity.GasCategory;
import com.gkhy.fourierSpecialGasMonitor.entity.GasFlux;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;
 
@Repository
public interface GasCategoryRepository extends JpaRepository<GasCategory,Integer>, JpaSpecificationExecutor<GasCategory> {
 
    GasCategory findByMolecularFormula(String molecularFormula);
}