From 4a2deb11b819dd78a8c75e244ef67ec2e48cf5f5 Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期一, 14 四月 2025 21:03:28 +0800 Subject: [PATCH] 重构轮灌组修改接口 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeHistoryMapper.java | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 59 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeHistoryMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeHistoryMapper.java new file mode 100644 index 0000000..d8bc37e --- /dev/null +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeHistoryMapper.java @@ -0,0 +1,59 @@ +package com.dy.pipIrrGlobal.daoSe; + +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 + * @date 2023/12/23 8:47 + * @LastEditTime 2023/12/23 8:47 + * @Description + */ + +@Mapper +public interface SeRechargeHistoryMapper extends BaseMapper<SeRechargeHistory> { + int deleteByPrimaryKey(Long id); + + int insert(SeRechargeHistory record); + + int insertSelective(SeRechargeHistory record); + + SeRechargeHistory selectByPrimaryKey(Long id); + + int updateByPrimaryKeySelective(SeRechargeHistory record); + + int updateByPrimaryKey(SeRechargeHistory record); + + /** + * 渚濇嵁姘村崱ID灏嗘渶鍚庝竴鏉℃棤鏁堢姸鎬佺殑鍏呭�煎巻鍙茶褰曟敼涓烘湁鏁� + * @param cardId + * @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) ; + +} \ No newline at end of file -- Gitblit v1.8.0