package com.cool.store.service;

import com.cool.store.dto.TransferLogDTO;
import com.cool.store.entity.LineInfoDO;
import com.cool.store.enums.OperationLogTypeEnum;
import com.github.pagehelper.PageInfo;

/**
 * @Author suzhuhong
 * @Date 2024/3/29 18:04
 * @Version 1.0
 */
public interface TransferLogService {

    /**
     * 添加日志 操作日志类型
     * @param lineInfoDO
     * @param formUserId
     * @param toUserId
     * @param operationLogTypeEnum
     */
    void addLog(LineInfoDO lineInfoDO, String formUserId, String  toUserId, OperationLogTypeEnum operationLogTypeEnum);


    PageInfo<TransferLogDTO> getTransferLogPage(Integer pageNum, Integer pageSize, Long lineId);
}
