package com.bosshand.virgo.api.dao; import com.bosshand.virgo.api.model.Payment; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.math.BigDecimal; import java.util.List; import java.util.Map; @Mapper public interface PaymentDao { int batchInsert (List list); int delete(long id); List getList(Payment payment); int updateStatus(long id, Integer status); int updateReminderStatus(long id, Integer reminderStatus); List getContractId(long contractId); int getTotalCount(Payment payment); List getLimit(@Param("p") Payment p, @Param("currIndex") int currIndex, @Param("pageSize") int pageSize); Payment get(long id); List getIds(List ids); Map getAccumulateProjectId(long projectId); Map getYearProjectId(long projectId); Map getMonthProjectId(long projectId); List getMonthCount(long projectId); Map getAccumulate(long projectId, long contractId); }