“djh”
2024-12-05 eee41a5fb58e6547a43929430f4b72908119db6e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.gkhy.testFourierSpecialGasMonitor.repository;
 
import com.gkhy.testFourierSpecialGasMonitor.entity.GasWarnUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
/**
 * @author Mr.huang
 * @decription
 * @date 2023/8/9 14:31
 */
@Repository
public interface GasWarnUserRepository extends JpaRepository<GasWarnUser,Long>, JpaSpecificationExecutor<GasWarnUser> {
 
    GasWarnUser findByIdAndStatus(Long id,Byte status);
 
    GasWarnUser findByUserIdAndStatus(Long id,Byte status);
 
    List<GasWarnUser> findAllByStatus(Byte status);
 
 
 
 
}