32 lines
988 B
Java
32 lines
988 B
Java
|
|
package com.rzyc.mapper;
|
||
|
|
|
||
|
|
import com.rzyc.model.SysRoleResource;
|
||
|
|
import com.rzyc.model.SysRoleResourceExample;
|
||
|
|
import org.apache.ibatis.annotations.Param;
|
||
|
|
import org.springframework.stereotype.Repository;
|
||
|
|
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
@Repository
|
||
|
|
public interface SysRoleResourceMapper {
|
||
|
|
long countByExample(SysRoleResourceExample example);
|
||
|
|
|
||
|
|
int deleteByExample(SysRoleResourceExample example);
|
||
|
|
|
||
|
|
int insert(SysRoleResource record);
|
||
|
|
|
||
|
|
int insertSelective(SysRoleResource record);
|
||
|
|
|
||
|
|
List<SysRoleResource> selectByExample(SysRoleResourceExample example);
|
||
|
|
|
||
|
|
int updateByExampleSelective(@Param("record") SysRoleResource record, @Param("example") SysRoleResourceExample example);
|
||
|
|
|
||
|
|
int updateByExample(@Param("record") SysRoleResource record, @Param("example") SysRoleResourceExample example);
|
||
|
|
|
||
|
|
/*删除角色资源*/
|
||
|
|
Integer delRoleId(@Param("roleId") String roleId);
|
||
|
|
|
||
|
|
/*批量插入*/
|
||
|
|
Integer insertList(@Param("records") List<SysRoleResource> records);
|
||
|
|
}
|