package com.starry.admin.modules.clerk.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.starry.admin.modules.clerk.module.entity.PlayClerkPkEntity;

/**
 * 店员pkService接口
 *
 * @author admin
 * @since 2024-08-02
 */
public interface IPlayClerkPkService extends IService<PlayClerkPkEntity> {
    /**
     * 查询店员pk
     *
     * @param id
     *            店员pk主键
     * @return 店员pk
     */
    PlayClerkPkEntity selectPlayClerkPkById(String id);

    /**
     * 查询店员pk列表
     *
     * @param playClerkPk
     *            店员pk
     * @return 店员pk集合
     */
    IPage<PlayClerkPkEntity> selectPlayClerkPkByPage(PlayClerkPkEntity playClerkPk);

    /**
     * 新增店员pk
     *
     * @param playClerkPk
     *            店员pk
     * @return 结果
     */
    boolean create(PlayClerkPkEntity playClerkPk);

    /**
     * 修改店员pk
     *
     * @param playClerkPk
     *            店员pk
     * @return 结果
     */
    boolean update(PlayClerkPkEntity playClerkPk);

    /**
     * 批量删除店员pk
     *
     * @param ids
     *            需要删除的店员pk主键集合
     * @return 结果
     */
    int deletePlayClerkPkByIds(String[] ids);

    /**
     * 删除店员pk信息
     *
     * @param id
     *            店员pk主键
     * @return 结果
     */
    int deletePlayClerkPkById(String id);
}
