zhubaomin
2025-04-02 bab406b3393a3df6854ee5970a5a62a33f34e597
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeHistoryMapper.java
@@ -2,8 +2,12 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.pipIrrGlobal.pojoSe.SeRechargeHistory;
import com.dy.pipIrrGlobal.voSt.VoClientRechargeStatistics;
import com.dy.pipIrrGlobal.voSt.VoIcRechargeStatistics;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
 * @author ZhuBaoMin
@@ -32,4 +36,24 @@
     * @return
     */
    Integer turnRechargeHistoryValidByCardId(@Param("cardId") Long cardId);
    ///////////////////////////////
    //统计相关
    /**
     * 以农户和IC卡为单位统计一日的充值
     * @param statisticsStartId
     * @param statisticsEndId
     * @return
     */
    List<VoIcRechargeStatistics> statisticsByIc(@Param("startId")Long statisticsStartId, @Param("endId")Long statisticsEndId) ;
    /**
     * 以农户为单位统计一日的充值
     * @param statisticsStartId
     * @param statisticsEndId
     * @return
     */
    List<VoClientRechargeStatistics> statisticsByClient(@Param("startId")Long statisticsStartId, @Param("endId")Long statisticsEndId) ;
}