package com.ruoyi.project.tr.method.mapper; import java.util.List; import com.ruoyi.project.tr.method.domain.Method; /** * 风险单元评价方法Mapper接口 * * @author wm * @date 2020-05-05 */ public interface MethodMapper { /** * 查询风险单元评价方法 * * @param methodId 风险单元评价方法ID * @return 风险单元评价方法 */ Method selectMethodById(Long methodId); /** * 查询风险单元评价方法列表 * * @param method 风险单元评价方法 * @return 风险单元评价方法集合 */ List selectMethodList(Method method); /** * 新增风险单元评价方法 * * @param method 风险单元评价方法 * @return 结果 */ int insertMethod(Method method); /** * 修改风险单元评价方法 * * @param method 风险单元评价方法 * @return 结果 */ int updateMethod(Method method); /** * 删除风险单元评价方法 * * @param methodId 风险单元评价方法ID * @return 结果 */ int deleteMethodById(Long methodId); /** * 批量删除风险单元评价方法 * * @param methodIds 需要删除的数据ID * @return 结果 */ int deleteMethodByIds(String[] methodIds); }