package com.yd.csf.service.service;

import com.yd.csf.service.model.SalaryRemittance;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 薪资汇款明细表 服务类
 * </p>
 *
 * @author zxm
 * @since 2026-05-08
 */
public interface ISalaryRemittanceService extends IService<SalaryRemittance> {

    Boolean delBySalaryBizId(String salaryBizId);

    List<SalaryRemittance> queryList(String salaryBizId);

    SalaryRemittance queryOne(String salaryRemittanceBizId);

    /**
     * 批量根据薪资单业务ID列表查询汇款明细，并按 salaryBizId 分组返回 Map
     * @param salaryBizIds 薪资单业务ID列表
     * @return Map<salaryBizId, List<SalaryRemittance>>
     */
    Map<String, List<SalaryRemittance>> queryListBySalaryBizIds(List<String> salaryBizIds);
}
