4
hao
2025-04-16 c5fb1fbcbb2bf4d511773d348f9ef625855c61fc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.system.role.dao;
 
import java.sql.Date;
import java.util.List;
 
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.transaction.annotation.Transactional;
 
import com.system.role.entity.SysRole;
 
public interface SysRoleDao extends CrudRepository<SysRole, Long>, JpaSpecificationExecutor<SysRole> {
 
    public List<SysRole> findAll();
 
    public List<SysRole> findByIsDel(Integer isDel);
 
    public SysRole findById(long id);
 
    public int countByIsDelAndBsCode(Integer isDel, String bsCode);
}