package cn.ysk.cashier.service.shop;

import cn.ysk.cashier.dto.shop.ShopPrintLogDTO;
import cn.ysk.cashier.pojo.shop.TbPrintMachineLogEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;
import java.util.Map;

/**
 * 店铺小票打印记录
 *
 * @author tankaikai
 * @since 2024-10-8 16:40
 */
public interface ShopPrintLogService extends IService<TbPrintMachineLogEntity> {

    Map<String, Object> page(Map<String, Object> params);

    void saveByConfigId(Integer configId, String printContent, boolean success, Date printTime, Long userId, String userName);

    void save(ShopPrintLogDTO dto);

}
