“djh”
2024-12-04 d1549b8445c65a6775cf1ba093f5040ace0f87e7
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.huataiFourierSpecialGasMonitor.repository;
 
import com.gkhy.huataiFourierSpecialGasMonitor.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);
 
 
 
 
}