From 2562d6ce39aa405514c9e22ff0237f3f145040b6 Mon Sep 17 00:00:00 2001
From: ZQN <364596817@qq.com>
Date: 星期二, 27 八月 2024 10:45:29 +0800
Subject: [PATCH] 企业二维码样式修改

---
 project-report/src/main/resources/mapper/report/ReportMapper.xml |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/project-report/src/main/resources/mapper/report/ReportMapper.xml b/project-report/src/main/resources/mapper/report/ReportMapper.xml
index c68d466..880b521 100644
--- a/project-report/src/main/resources/mapper/report/ReportMapper.xml
+++ b/project-report/src/main/resources/mapper/report/ReportMapper.xml
@@ -13,6 +13,7 @@
             IFNULL(count(order_id),0) as v
         from enforce_order
         where 1=1
+        and check_status>=2
         <if test="deptId != null ">
             AND check_dept_id = #{deptId}
         </if>
@@ -34,6 +35,7 @@
         IFNULL(count(order_id),0) as v
         from enforce_order
         where 1=1
+        and check_status>=2
         <if test="beginTime!=null and beginTime!=''">
             AND apply_time &gt;= #{beginTime}
         </if>
@@ -54,7 +56,9 @@
         from sys_company sc
         left join enforce_order eo on sc.company_id=eo.company_id
         where 1=1
+        and sc.company_status=0
         and sc.check_status=2
+        and eo.check_status>=2
         <if test="beginTime!=null and beginTime!=''">
             AND eo.apply_time &gt;= #{beginTime}
         </if>
@@ -73,6 +77,7 @@
         IFNULL(count(order_id),0) as v
         from enforce_order
         where 1=1
+          and check_status>=2
         <if test="beginTime!=null and beginTime!=''">
             AND apply_time &gt;= #{beginTime}
         </if>

--
Gitblit v1.9.1