package com.dk.mdm.mapper.mst; import com.dk.common.mapper.BaseMapper; import com.dk.mdm.model.pojo.mst.MoneyAccountItem; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; /** * 资金流水明细 Mapper */ @Repository public interface MoneyAccountItemMapper extends BaseMapper{ /** * @desc : 根据来源ID删除资金流水 * @author : 付斌 * @date : 2024-03-22 10:30 */ int deleteByInvoiceId(@Param("id") String id); /** * @desc : 查询收款总额 * @author : 付斌 * @date : 2024-03-09 11:36 */ Map getSumAmtInflow(String id); /** * @desc : 根据来源ID查询资金流水 * @author : 付斌 * @date : 2024-04-04 14:48 */ List selectByInvoiceIdForUpdate(String id); }