package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.WorkerMarginLog;

/**
 * 师傅质保金明细Mapper接口
 * 
 * @author ruoyi
 * @date 2025-05-13
 */
public interface WorkerMarginLogMapper 
{
    /**
     * 查询师傅质保金明细
     * 
     * @param id 师傅质保金明细主键
     * @return 师傅质保金明细
     */
    public WorkerMarginLog selectWorkerMarginLogById(Integer id);

    /**
     * 查询师傅质保金明细列表
     * 
     * @param workerMarginLog 师傅质保金明细
     * @return 师傅质保金明细集合
     */
    public List<WorkerMarginLog> selectWorkerMarginLogList(WorkerMarginLog workerMarginLog);

    /**
     * 新增师傅质保金明细
     * 
     * @param workerMarginLog 师傅质保金明细
     * @return 结果
     */
    public int insertWorkerMarginLog(WorkerMarginLog workerMarginLog);

    /**
     * 修改师傅质保金明细
     * 
     * @param workerMarginLog 师傅质保金明细
     * @return 结果
     */
    public int updateWorkerMarginLog(WorkerMarginLog workerMarginLog);

    /**
     * 删除师傅质保金明细
     * 
     * @param id 师傅质保金明细主键
     * @return 结果
     */
    public int deleteWorkerMarginLogById(Integer id);

    /**
     * 批量删除师傅质保金明细
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWorkerMarginLogByIds(Integer[] ids);
}
