MoneyAccountItemMapper.java 922 B

12345678910111213141516171819202122232425262728293031323334353637
  1. package com.dk.mdm.mapper.mst;
  2. import com.dk.common.mapper.BaseMapper;
  3. import com.dk.mdm.model.pojo.mst.MoneyAccountItem;
  4. import org.apache.ibatis.annotations.Param;
  5. import org.springframework.stereotype.Repository;
  6. import java.util.List;
  7. import java.util.Map;
  8. /**
  9. * 资金流水明细 Mapper
  10. */
  11. @Repository
  12. public interface MoneyAccountItemMapper extends BaseMapper<MoneyAccountItem>{
  13. /**
  14. * @desc : 根据来源ID删除资金流水
  15. * @author : 付斌
  16. * @date : 2024-03-22 10:30
  17. */
  18. int deleteByInvoiceId(@Param("id") String id);
  19. /**
  20. * @desc : 查询收款总额
  21. * @author : 付斌
  22. * @date : 2024-03-09 11:36
  23. */
  24. Map<String, Object> getSumAmtInflow(String id);
  25. /**
  26. * @desc : 根据来源ID查询资金流水
  27. * @author : 付斌
  28. * @date : 2024-04-04 14:48
  29. */
  30. List<MoneyAccountItem> selectByInvoiceIdForUpdate(String id);
  31. }