huangzhen
2023-08-16 7b1878ed989949cb4a7aa16adab6fbe48b5325ea
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.gkhy.fourierSpecialGasMonitor.repository;
 
import com.gkhy.fourierSpecialGasMonitor.entity.GasThreshold;
import com.gkhy.fourierSpecialGasMonitor.entity.GasWarnLog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;
 
/**
 * @author Mr.huang
 * @decription
 * @date 2023/8/9 16:47
 */
@Repository
public interface GasWarnLogRepository extends JpaRepository<GasWarnLog,Long>, JpaSpecificationExecutor<GasWarnLog> {
 
    GasWarnLog findByIdAndStatus(Long id,Byte status);
}