From a5805426672ef5b28f1d829232527a55792d7250 Mon Sep 17 00:00:00 2001
From: Administrator <zhubaomin>
Date: 星期五, 02 二月 2024 10:40:39 +0800
Subject: [PATCH] 2024-02-02 朱宝民 优化交易汇总视图和交易明细视图

---
 pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeGeneralMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeGeneralMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeGeneralMapper.xml
index 826c8f0..3a9f834 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeGeneralMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeGeneralMapper.xml
@@ -271,7 +271,7 @@
       SUM(count) AS totalCount,
       SUM(received) AS totalReceived,
       SUM(gift) AS totalGift
-    FROM v_transactionstatistics2
+    FROM v_trade_summary
     <where>
       <if test = "tradeDate != null and tradeDate !=''">
         AND tradeDate = #{tradeDate}
@@ -287,7 +287,7 @@
   <select id="getToAuditRecordCount" parameterType="java.util.Map" resultType="java.lang.Long">
     SELECT
     COUNT(*) AS recordCount
-    FROM v_transactionstatistics2
+    FROM v_trade_summary
     <where>
       <if test = "cashierId != null and cashierId > 0">
         AND cashierId = ${cashierId}
@@ -301,7 +301,7 @@
 
   <!--璐㈠姟瀵硅处瀹℃牳椤碉紝鏀堕摱鍛�+鏃ユ湡+绫诲瀷鍒嗙粍锛屾帓闄や氦鏄撶被鍨嬪垎缁�-->
   <select id="getToAudit" resultType="com.dy.pipIrrGlobal.voSe.VoTransactionStatistics">
-    SELECT * FROM v_transactionstatistics2
+    SELECT * FROM v_trade_summary
     <where>
       <if test = "cashierId != null and cashierId > 0">
         AND cashierId = ${cashierId}

--
Gitblit v1.8.0