From 95a2b100ee6f1ed4f7231e7d4c6832e101afc019 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期五, 31 三月 2023 14:15:42 +0800
Subject: [PATCH] 屏蔽日志
---
ycl-platform/src/main/resources/mapper/allot/EfficiencyMapper.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/ycl-platform/src/main/resources/mapper/allot/EfficiencyMapper.xml b/ycl-platform/src/main/resources/mapper/allot/EfficiencyMapper.xml
index f7ac3e9..05092bf 100644
--- a/ycl-platform/src/main/resources/mapper/allot/EfficiencyMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/allot/EfficiencyMapper.xml
@@ -41,7 +41,15 @@
WHERE
ubc.category = 1
AND t4.`name` IS NOT NULL
+ <if test="beginTime!=null">
+ and ubc.alarm_time BETWEEN #{beginTime} and #{endTime}
+ </if>
GROUP BY
t4.id,DATE_FORMAT(alarm_time,'%Y-%m')
+ ORDER BY DATE_FORMAT(alarm_time,'%Y-%m') desc ,COUNT(1) desc
</select>
+ <select id="getSmokeCustomer" resultType="java.lang.Long">
+ select count(1) total from ums_ods_customer
+ </select>
+
</mapper>
--
Gitblit v1.8.0