From 83d9b0de6d127cf0f2822c51139fa4e15a3326e7 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期六, 07 六月 2025 16:13:34 +0800 Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeHistoryMapper.java | 62 +++++++++++++++++++++++++++++++ 1 files changed, 62 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..ba81a50 --- /dev/null +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeHistoryMapper.java @@ -0,0 +1,62 @@ +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 2025-06-06 10:34 + * @LastEditTime 2025-06-06 10:34 + * @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); + + /** + * 鍏呭�兼満鐢ㄦ牴鎹鍗曞彿灏嗗厖鍊煎巻鍙茶褰曟敼涓烘湁鏁� + * @param orderNumber + * @return + */ + Integer turnRechargeHistoryValidByOrderNumber(@Param("orderNumber") String orderNumber); + + /** + * 浠ュ啘鎴峰拰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