From 1fad0578c97abbb7fc30f59eb1de0f23f08ddde1 Mon Sep 17 00:00:00 2001
From: zhangmei <645025773@qq.com>
Date: 星期四, 27 三月 2025 15:21:15 +0800
Subject: [PATCH] 流水、开票营业部权限

---
 ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml
index 2f9530f..50011ed 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml
@@ -163,7 +163,7 @@
 
     <select id="statisticsNoPay" resultType="java.math.BigDecimal">
         SELECT ifnull(sum(outstanding_money),0) as amount FROM t_bill where pay_fees_status!=3
-        where  business_dept_id=#{busDeptId}
+        AND  business_dept_id=#{busDeptId}
     </select>
 
     <select id="statisticsPayed" resultType="java.math.BigDecimal">
@@ -173,7 +173,7 @@
 
     <select id="statisticsOverdue" resultType="java.math.BigDecimal">
         SELECT ifnull(sum(outstanding_money),0) as amount FROM t_bill where pay_fees_status=4
-        where  business_dept_id=#{busDeptId}
+        AND  business_dept_id=#{busDeptId}
     </select>
     <select id="batchBillCount" resultType="java.lang.Integer">
         SELECT

--
Gitblit v1.7.1