PermissionMapper.java
935 字节
package com.tianbo.mapper;
import com.tianbo.model.Permission;
import com.tianbo.model.PermissionExample;
import java.math.BigDecimal;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PermissionMapper {
int countByExample(PermissionExample example);
int deleteByExample(PermissionExample example);
int deleteByPrimaryKey(BigDecimal permissionId);
int insert(Permission record);
int insertSelective(Permission record);
List<Permission> selectByExample(PermissionExample example);
Permission selectByPrimaryKey(BigDecimal permissionId);
int updateByExampleSelective(@Param("record") Permission record, @Param("example") PermissionExample example);
int updateByExample(@Param("record") Permission record, @Param("example") PermissionExample example);
int updateByPrimaryKeySelective(Permission record);
int updateByPrimaryKey(Permission record);
}