ROLEMapper.java 471 字节
package com.tianbo.warehouse.dao;

import com.tianbo.warehouse.model.ROLE;
import java.math.BigDecimal;
import java.util.List;

public interface ROLEMapper {
    int deleteByPrimaryKey(BigDecimal roleId);

    int insert(ROLE record);

    int insertSelective(ROLE record);

    ROLE selectByPrimaryKey(BigDecimal roleId);

    int updateByPrimaryKeySelective(ROLE record);

    int updateByPrimaryKey(ROLE record);

    List<ROLE> findRolesByUserId(BigDecimal userId);
}