huangzhen
2023-12-28 d6ae4bd543971312b51ba0e40b2565f63ed682e0
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);
}