package com.ktg.iscs.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ktg.iscs.domain.IsWorkstation;

import java.util.List;

/**
 * mars岗位Service接口
 *
 * @author cgj
 * @date 2024-12-16
 */
public interface IIsWorkstationService extends IService<IsWorkstation>
{
    /**
     * 查询mars岗位
     *
     * @param workstationId mars岗位主键
     * @return mars岗位
     */
    IsWorkstation selectIsWorkstationByWorkstationId(Long workstationId);

    /**
     * 查询mars岗位列表
     *
     * @param isWorkstation mars岗位
     * @return mars岗位集合
     */
    List<IsWorkstation> selectIsWorkstationList(IsWorkstation isWorkstation);

    /**
     * 新增mars岗位
     *
     * @param isWorkstation mars岗位
     * @return 结果
     */
    int insertIsWorkstation(IsWorkstation isWorkstation);

    /**
     * 修改mars岗位
     *
     * @param isWorkstation mars岗位
     * @return 结果
     */
    int updateIsWorkstation(IsWorkstation isWorkstation);

    /**
     * 批量删除mars岗位
     *
     * @param workstationIds 需要删除的mars岗位主键集合
     * @return 结果
     */
    int deleteIsWorkstationByWorkstationIds(String workstationIds);

    /**
     * 删除mars岗位信息
     *
     * @param workstationId mars岗位主键
     * @return 结果
     */
    int deleteIsWorkstationByWorkstationId(Long workstationId);

    Page<IsWorkstation> getIsWorkstationPage(IsWorkstation isWorkstation, Page<IsWorkstation> page);
}
