package com.storlead.sales.service.customer;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.storlead.framework.common.result.Result;
import com.storlead.framework.mybatis.service.MyBaseService;
import com.storlead.sales.pojo.dto.customer.CommonSearchDTO;
import com.storlead.sales.pojo.dto.customer.WorkOrderViewLogSearchDTO;
import com.storlead.sales.pojo.entity.customer.WorkOrderViewLogEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.storlead.sales.pojo.vo.customer.WorkOrderListVO;
import com.storlead.sales.pojo.vo.customer.WorkOrderViewLogListVO;

/**
 * <p>
 * 工单访问记录表 服务类
 * </p>
 *
 * @author YPZ
 * @since 2024-04-29
 */
public interface WorkOrderViewLogService extends MyBaseService<WorkOrderViewLogEntity> {

    /***
      * @Description: 用户查看工单(传工单id)
      * @Param:
      * @return:
      * @Author: YPZ
      * @Date: 2024/5/14 15:19
      */
    Result<?> addWorkOrderViewLog(Long workOrderId);

    /***
      * @Description: 工单查看用户列表
      * @Param:
      * @return:
      * @Author: YPZ
      * @Date: 2024/5/14 16:02
      */
    Result<IPage<WorkOrderViewLogListVO>> selectListVO(WorkOrderViewLogSearchDTO workOrderViewLogSearchDTO);
}
