From 3948f4fc637d8439bc2a2e44c449e968b3c0fb15 Mon Sep 17 00:00:00 2001
From: wuzeyu <1223318623@qq.com>
Date: 星期五, 26 一月 2024 08:58:21 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeGeneralMapper.java |   89 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 89 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeGeneralMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeGeneralMapper.java
new file mode 100644
index 0000000..0e230af
--- /dev/null
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeGeneralMapper.java
@@ -0,0 +1,89 @@
+package com.dy.pipIrrGlobal.daoSe;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.dy.pipIrrGlobal.pojoSe.SeGeneral;
+import com.dy.pipIrrGlobal.voSe.VoGeneral;
+import com.dy.pipIrrGlobal.voSe.VoTransactionStatistics;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @author ZhuBaoMin
+ * @date 2024-01-24 18:57
+ * @LastEditTime 2024-01-25 15:55
+ * @Description
+ */
+
+@Mapper
+public interface SeGeneralMapper extends BaseMapper<SeGeneral> {
+    int deleteByPrimaryKey(Long id);
+
+    int insert(SeGeneral record);
+
+    int insertSelective(SeGeneral record);
+
+    SeGeneral selectByPrimaryKey(Long id);
+
+    int updateByPrimaryKeySelective(SeGeneral record);
+
+    int updateByPrimaryKey(SeGeneral record);
+
+    /**
+     * 鑾峰彇鏈敓鎴愭�昏处鐨勪氦鏄撴棩鏈熷垪琛紙褰撳ぉ鐨勪氦鏄撹褰曚笉鐢熸垚鎬昏处锛�
+     * @return
+     */
+    List<Map<String, Object>> getDatesOfNotInGenerals();
+
+    /**
+     * 鏍规嵁浜ゆ槗鏃ユ湡鑾峰彇鎬昏处璁板綍鍒楄〃锛堝緟鐢熸垚鐨勶級
+     * @param operateDate
+     * @return
+     */
+    List<SeGeneral> getGeneralByOperateDate(@Param("operateDate") String operateDate);
+
+    /**
+     * 鏍规嵁鎸囧畾鏉′欢鑾峰彇鎬昏处璁板綍鏁�
+     * @param params
+     * @return
+     */
+    Long getRecordCount(Map<?, ?> params);
+
+    /**
+     * 鏍规嵁鎸囧畾鏉′欢鑾峰彇鎬昏处璁板綍
+     * @param params
+     * @return
+     */
+    List<VoGeneral> getGenerals(Map<?, ?> params);
+
+    /**
+     * 璐㈠姟瀵硅处瀹℃牳椤碉紝鏀堕摱鍛�+鏃ユ湡鍒嗙粍锛屾帓闄や氦鏄撶被鍨嬪垎缁勶紝璁板綍鏁�
+     * @param params
+     * @return
+     */
+    Long getToAuditRecordCount(Map<?, ?> params);
+
+    /**
+     * 璐㈠姟瀵硅处瀹℃牳椤碉紝鏀堕摱鍛�+鏃ユ湡鍒嗙粍锛屾帓闄や氦鏄撶被鍨嬪垎缁�
+     * @param params
+     * @return
+     */
+    List<VoTransactionStatistics> getToAudit(Map<?, ?> params);
+
+    /**
+     * 鑾峰彇鎸囧畾鏃ユ湡銆佹寚瀹氭敹閾跺憳銆佹寚瀹氭敮浠樻柟寮忓疄鏀堕噾棰濆悎璁�
+     * @param tradeDate
+     * @param paymentId
+     * @return
+     */
+    Float getPaymentSums(@Param("tradeDate") String tradeDate, @Param("cashierId") Long cashierId, @Param("paymentId") Long paymentId);
+
+    /**
+     * 鏍瑰熀鎸囧畾鏃ユ湡銆佹寚瀹氭敹閾跺憳鑾峰彇绗旀暟鍚堣銆佸疄鏀堕噾棰濆悎璁°�佽禒閫侀噾棰濆悎璁�
+     * @param params
+     * @return
+     */
+    Map getTransactionStatisticsSums(Map<?, ?> params);
+}
\ No newline at end of file

--
Gitblit v1.8.0