package com.ots.project.exam.service; import com.ots.common.enums.OpertypeEnum; import com.ots.project.exam.domain.EntOperLog; import java.util.List; /** * 使用次数操作记录Service接口 * * @author ots * @date 2020-01-19 */ public interface IEntOperLogService { /** * 查询使用次数操作记录 * * @param logId 使用次数操作记录ID * @return 使用次数操作记录 */ EntOperLog selectEntOperLogById(Long logId); /** * 查询使用次数操作记录列表 * * @param entOperLog 使用次数操作记录 * @return 使用次数操作记录集合 */ List selectEntOperLogList(EntOperLog entOperLog); /** * 新增使用次数操作记录 * * @param entOperLog 使用次数操作记录 * @return 结果 */ int insertEntOperLog(EntOperLog entOperLog); /** * 修改使用次数操作记录 * * @param entOperLog 使用次数操作记录 * @return 结果 */ int updateEntOperLog(EntOperLog entOperLog); /** * 批量删除使用次数操作记录 * * @param ids 需要删除的数据ID * @return 结果 */ int deleteEntOperLogByIds(String ids); /** * 删除使用次数操作记录信息 * * @param logId 使用次数操作记录ID * @return 结果 */ int deleteEntOperLogById(Long logId); /** * 记录日志 * @param userId * @param createUserId * @param addNum */ void saveLog(Long userId, String createUserId, OpertypeEnum opertypeEnum, Long addNum); }